Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Add state parameter functionality to access token request #55

Open
DavidZey opened this issue Dec 17, 2013 · 1 comment
Open

Add state parameter functionality to access token request #55

DavidZey opened this issue Dec 17, 2013 · 1 comment

Comments

@DavidZey
Copy link
Contributor

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

@jed
Copy link
Owner

jed commented Dec 17, 2013

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 added a commit that referenced this issue May 14, 2014
Add state parameter functionality to access token request #55
jed added a commit that referenced this issue May 14, 2014
* 'master' of https://github.com/jed/authom:
  Add state parameter functionality to access token request #55
  Add example to readme
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants