Browse Source

Use standard space-separated scopes for Reddit

pull/1553/head
Kévin Chalet 4 years ago
parent
commit
bf33b91aab
  1. 2
      src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs

2
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs

@ -422,7 +422,7 @@ public static partial class OpenIddictClientWebIntegrationHandlers
{ {
// The following providers are known to use comma-separated scopes instead of // The following providers are known to use comma-separated scopes instead of
// the standard format (that requires using a space as the scope separator): // the standard format (that requires using a space as the scope separator):
Providers.Deezer or Providers.Reddit => string.Join(",", context.Scopes), Providers.Deezer => string.Join(",", context.Scopes),
_ => context.Request.Scope _ => context.Request.Scope
}; };

Loading…
Cancel
Save