-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Allow to pass state
parameter
#119
Comments
Hi @yordis! You should be able to do that using the config
|> Keyword.put(:authorization_params, state: encoded_payload)
|> Assent.Startegy.OAuth2.authorize_url() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there,
We would like to pass the
state
parameter:assent/lib/assent/strategies/oauth2.ex
Line 101 in 61cf499
We want to marshal some JSON payload as base64 to pass a state from the client into the oauth2 flow.
Would you be willing to add the feature?
The text was updated successfully, but these errors were encountered: