Skip to content

Commit

Permalink
support only implicit flow for oauth2
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome committed Oct 30, 2024
1 parent c1df4c7 commit 9aa0581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/Plugins/PluginsGenerationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ SecuritySchemeType.Http when securityScheme.Scheme.Equals("bearer", StringCompar
{
ReferenceId = $"{{{name}_REGISTRATION_ID}}"
},
SecuritySchemeType.OAuth2 => new OAuthPluginVault
SecuritySchemeType.OAuth2 when securityScheme.Flows.AuthorizationCode != null => new OAuthPluginVault
{
ReferenceId = $"{{{name}_CONFIGURATION_ID}}"
},
Expand Down

0 comments on commit 9aa0581

Please sign in to comment.