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

allow no redirect_uri to support cross-client exchange request #14

Merged
merged 1 commit into from Oct 18, 2014

Conversation

Projects
None yet
2 participants
@razsh
Contributor

razsh commented May 12, 2014

Google supports cross client authorization. See Cross-client access tokens section in https://developers.google.com/accounts/docs/CrossClientAuth. For example, if a user has an Android App with native Google+ login button, the app can sent a request for one-time-code that can be exchanged by a web app with different client id. This is very useful when there is a need to consume existing web services by a mobile applications. In that case the web app must submit the exchange request without any redirect_uri (“When the web component exchanges the code for tokens, it should not include the redirect_uri argument in the POST request.”).
To support this feature the validation in Client.pm should be adjusted.

@comewalk comewalk merged commit 0b1efb3 into comewalk:master Oct 18, 2014

1 check failed

continuous-integration/travis-ci The Travis CI build failed
Details
@comewalk

This comment has been minimized.

Show comment
Hide comment
@comewalk

comewalk Oct 18, 2014

Owner

@razsh I'm sorry for my late. Your suggestion is good to know to me. It just merged. Thank you for your contribution!

Owner

comewalk commented Oct 18, 2014

@razsh I'm sorry for my late. Your suggestion is good to know to me. It just merged. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment