Currently, we can use the authorization_params to pass parameters to Assent, such as scope or access_type. Previously, we could also pass in state, and Assent would either use it directly or generate it for us if passed in.
In Assent 3.0 however, passing in State has been deprecated.
It would be great if we could perhaps have another option in the OAuth2 configuration to provide state.
In addition, it would be nice if we could find a way to get that state and somehow pass it to the actions opts - maybe in the context?
Currently, we can use the
authorization_paramsto pass parameters to Assent, such asscopeoraccess_type. Previously, we could also pass instate, and Assent would either use it directly or generate it for us if passed in.In Assent 3.0 however, passing in State has been deprecated.
It would be great if we could perhaps have another option in the OAuth2 configuration to provide
state.In addition, it would be nice if we could find a way to get that state and somehow pass it to the actions opts - maybe in the context?