|
|
|
@ -1175,9 +1175,9 @@ public static partial class OpenIddictClientWebIntegrationHandlers |
|
|
|
{ |
|
|
|
// These providers return the username as a custom "username" node:
|
|
|
|
ProviderTypes.ArcGisOnline or ProviderTypes.Dailymotion or ProviderTypes.DeviantArt or |
|
|
|
ProviderTypes.Discord or ProviderTypes.Disqus or ProviderTypes.Lichess or |
|
|
|
ProviderTypes.Mastodon or ProviderTypes.Mixcloud or ProviderTypes.Trakt or |
|
|
|
ProviderTypes.WordPress |
|
|
|
ProviderTypes.Discord or ProviderTypes.Disqus or ProviderTypes.Kook or |
|
|
|
ProviderTypes.Lichess or ProviderTypes.Mastodon or ProviderTypes.Mixcloud or |
|
|
|
ProviderTypes.Trakt or ProviderTypes.WordPress |
|
|
|
=> (string?) context.UserinfoResponse?["username"], |
|
|
|
|
|
|
|
// Basecamp and Harvest don't return a username so one is created using the "first_name" and "last_name" nodes:
|
|
|
|
@ -1260,14 +1260,14 @@ public static partial class OpenIddictClientWebIntegrationHandlers |
|
|
|
ProviderTypes.Atlassian => (string?) context.UserinfoResponse?["account_id"], |
|
|
|
|
|
|
|
// These providers return the user identifier as a custom "id" node:
|
|
|
|
ProviderTypes.Basecamp or ProviderTypes.Box or ProviderTypes.Dailymotion or |
|
|
|
ProviderTypes.Deezer or ProviderTypes.Discord or ProviderTypes.Disqus or |
|
|
|
ProviderTypes.Facebook or ProviderTypes.GitHub or ProviderTypes.Harvest or |
|
|
|
ProviderTypes.Kroger or ProviderTypes.Lichess or ProviderTypes.Mastodon or |
|
|
|
ProviderTypes.Meetup or ProviderTypes.Nextcloud or ProviderTypes.Patreon or |
|
|
|
ProviderTypes.Reddit or ProviderTypes.Smartsheet or ProviderTypes.Spotify or |
|
|
|
ProviderTypes.SubscribeStar or ProviderTypes.Todoist or ProviderTypes.Twitter or |
|
|
|
ProviderTypes.Zoom |
|
|
|
ProviderTypes.Basecamp or ProviderTypes.Box or ProviderTypes.Dailymotion or |
|
|
|
ProviderTypes.Deezer or ProviderTypes.Discord or ProviderTypes.Disqus or |
|
|
|
ProviderTypes.Facebook or ProviderTypes.GitHub or ProviderTypes.Harvest or |
|
|
|
ProviderTypes.Kook or ProviderTypes.Kroger or ProviderTypes.Lichess or |
|
|
|
ProviderTypes.Mastodon or ProviderTypes.Meetup or ProviderTypes.Nextcloud or |
|
|
|
ProviderTypes.Patreon or ProviderTypes.Reddit or ProviderTypes.Smartsheet or |
|
|
|
ProviderTypes.Spotify or ProviderTypes.SubscribeStar or ProviderTypes.Todoist or |
|
|
|
ProviderTypes.Twitter or ProviderTypes.Zoom |
|
|
|
=> (string?) context.UserinfoResponse?["id"], |
|
|
|
|
|
|
|
// Bitbucket returns the user identifier as a custom "uuid" node:
|
|
|
|
|