Replies: 1 comment
-
You can use cookies for storing and retrieving the state. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Using Adonis Ally, is there a way to pass params inside the redirect url to the callback ?
For example, I have two google sign-in buttons in two places in the app, for two different type of users.
I want to create the correct user type according the button used.
A way to do this would be to use a custom state with a base64 encoding of the type (and a random key to keep it secure), and retrieve it back in the callback.
I didn't find a way to specify the state in the docs. Do you have any idea?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions