-
Notifications
You must be signed in to change notification settings - Fork 111
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
chore: add state
params in Google oauth
#192
Conversation
state
params in Google oauth
Thanks @julianfox and @atinux! How do I use this? |
Hi @yandiro,
The state string will then be included in the signup success response, and you can retrieve it as follows:
|
How about this example sir? is it a good way to send the state?
// method generateRandomString
|
I implemented it only for the Google provider, not sure if it's doable for Github or Facebook. |
Oh, okay sir, thank you for your information. But can I ask a question again? Does the code from the result of the getQuery
btw, I followed this tutorial for the login flow guide with google. |
I'm very stressful with this issue sir, please let me know if you know something about this. |
This update add the state parameter to the Google OAuth flow to enhance security and help maintain state between the request and callback.
For more details: Google OAuth 2.0 - Request Parameter: state.