Skip to content
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

Adding a Potential Fix for Issue #12 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

orware
Copy link
Contributor

@orware orware commented Sep 30, 2020

Added a new link method (not sure if that's ok to do) and then added some extra checks in the authenticate() method to check and see if there may be an existing User record for the provided username, then gets the User ID for that row in the database and adds/links it to the OAuth2 User ID that is coming in from the OAuth2 authentication provider.

Not sure if this is the best way to hook into the process but it did work for my basic tests.

Added a new link method (not sure if that's ok to do) and then added some extra checks in the authenticate() method to check and see if there may be an existing User record for the provided username, then gets the User ID for that row in the database and adds/links it to the OAuth2 User ID that is coming in from the OAuth2 authentication provider.

Not sure if this is the best way to hook into the process but it did work for my basic tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant