pow-auth / assent

Multi-provider framework in Elixir
https://powauth.com
MIT License
391 stars 45 forks source link

Skip the gen_state when use a custom state into the authorized_params config #66

Closed fabiosammy closed 3 years ago

fabiosammy commented 3 years ago

I'm using a custom state value on oauth2 to define some redirects into my application.

A better way to manage this, is creating a state param with base64 encoded content, to put whatever we want to send custom parameters to the oauth.

In my case, I created a oauth proxy to manage multiple applications using the same API credentials.

danschultzer commented 3 years ago

Thanks! It actually already used the state defined in authorization_params, just didn't return it correctly.

danschultzer commented 3 years ago

v0.1.19 released!