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

Exchange token from browser client #107

Closed
matteosuppo opened this issue Jun 17, 2016 · 3 comments
Closed

Exchange token from browser client #107

matteosuppo opened this issue Jun 17, 2016 · 3 comments

Comments

@matteosuppo
Copy link
Contributor

matteosuppo commented Jun 17, 2016

Imagine I have a browser application which receives the authorization code:

http://localhost:3000/?code=gr4HgnkhvIolSEQRBjFA-ipfugGngqoEl9NNzOkf5OQ.WfQumSAgUTD7OkfZgn8cXR8iUJCY_GfM2jVEut87OA4&scope=core&state=statestate

Is there a way to obtain an access token without authenticating with the client_id and client_secret?

@aeneasr
Copy link
Member

aeneasr commented Jun 17, 2016

Yes, that is called the "implicit flow": https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2 (ctrl+f -> "Grant Type: Implicit")

@matteosuppo
Copy link
Contributor Author

Oh, perfect, thank you

@aeneasr
Copy link
Member

aeneasr commented Jun 17, 2016

Welcome

@aeneasr aeneasr closed this as completed Jun 17, 2016
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