-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Description
OwinOAuthProviders/src/Owin.Security.Providers.Discord/Provider/DiscordAuthenticatedContext.cs
Line 42 in 8b382b0
| Verified = TryGetValue(user, "verified").ToLowerInvariant() == "true"; |
This line will throw a nullref in case verified is not present, resulting in context.Identity being null. This ends up with a nondescript acccess_denied error. Simply adding a ? before the ToLowerInvariant fixes things
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels