-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add provider configuration to the session store #3348
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ No Invisible Unicode Characters Detected.
When GetAuthorizationURLRequest is called, it also creates the session state for the provider about to be created. Let's extend the message to include the config.
At the moment the session state treats the name and the class the same, which works because we only have github. Let's pass the name and the state separately. For backwards compatibility, we still use the provider name as the class unless set explicitly.
…lumn in the session_store table Store the configuration passed through the GetAuthorizationURL to the database so it can be retrieved when actually creating the provider.
6ebb4fe
to
ab30aa7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ No Invisible Unicode Characters Detected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ No Mixed Scripts Detected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ No Invisible Unicode Characters Detected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary
Related: #3263
Change Type
Mark the type of change your PR introduces:
Testing
A bunch of enrolls
Review Checklist: