Skip to content

Conversation

@remoblaser
Copy link

Problem

When trying to authenticate using a provider not returning a sub field during the userInfo request, the plugin fails with a message: The following field is invalid: Sub. This is especially the case with Github and Discord.

Solution

Use the id field returned during the userInfo request as a fallback. If that's not available, the whole thing will continue to fail.

See also

Fixes #133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant