Skip to content

Use id field instead of name field for GitHub and Facebook providers. #4764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

habuma
Copy link
Member

@habuma habuma commented Oct 31, 2017

Pulls a user's "id" field as the unique identifier rather than the "name" field when doing OAuth2 authentication against Facebook and GitHub. Fixes #4763

@rwinch rwinch added this to the 5.0.0 milestone Oct 31, 2017
@rwinch rwinch added the in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) label Oct 31, 2017
@jgrandja jgrandja closed this in 06c4bff Nov 1, 2017
@jgrandja
Copy link
Contributor

jgrandja commented Nov 1, 2017

@habuma Thanks for the PR Craig!
This is now in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CommonOAuth2Provider should use unique "id" field instead of non-unique "name" field.
3 participants