Skip to content
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

Using post method for google oauth2.0 requires args in body #20

Open
FreakTheMighty opened this issue Mar 12, 2012 · 1 comment
Open

Comments

@FreakTheMighty
Copy link

I'm not sure if google's implementation is non-standard, but I've found that to get the access_token I need to use a "POST" instead of a command. However simply setting access_token_method to "POST" is not sufficient because "handle_oauth2_response" puts the remote_args into the url instead of the body.

This may require a separate ticket, but google also expects an additional argument "grant_type" which needs to be set to "authorization_code".

@jaimeirurzun
Copy link

Method is now configurable via access_token_method. For adding params, there is a pull request here:

#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants