authom icon indicating copy to clipboard operation
authom copied to clipboard

Add state parameter functionality to access token request

Open DavidZey opened this issue 12 years ago • 1 comments

Is it possible to incorporate setting the state parameter in the access token request? The scenario I am thinking of is when there is state related to the initial /auth request that is needed after the access token is granted. (ie. /auth/:service?rememberMeFlag=true). When the access token is requested, only the state parameter is allowed in the oauth spec for this purpose. Adding any other parameter directly to the url will cause an error with the called oauth service. Here is a reference article to help provide context. I am game for making the changes and sending a pull request but I would want a little guidance before I did this. Thanks.

http://stackoverflow.com/questions/7722062/google-oauth2-redirect-uri-with-several-parameters

DavidZey avatar Dec 17 '13 21:12 DavidZey

to be honest, i'm a bit far from the original code to be very helpful, but could give feedback if there is code to see.

jed avatar Dec 17 '13 22:12 jed