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

How to get user info after authorization success #1

Closed
dandisy opened this issue Mar 28, 2016 · 1 comment
Closed

How to get user info after authorization success #1

dandisy opened this issue Mar 28, 2016 · 1 comment

Comments

@dandisy
Copy link

dandisy commented Mar 28, 2016

This is a good job,

but,
Please help me, How to get user info after authorization success

@grasses
Copy link
Owner

grasses commented Mar 29, 2016

When user login third party app by Authorization Code grant type,
redirect to callback url whith code.
sdk do those steps:

1.use code get access_token
2.use state check callback safety
3.use access_token get user OpenId(unique open id)
4.use access_token + OpenId get user info

you can test here:

http://brentertainment.com/oauth2/lockdin/authorize?response_type=code&client_id=demoapp&redirect_uri=http%3A%2F%2Fbrentertainment.com%2Foauth2%2Fclient%2Freceive_authcode&state=65b7bbc7d4fdfb385104f720b3149f9d

Repository owner locked and limited conversation to collaborators Jan 13, 2017
Repository owner unlocked this conversation Jan 13, 2017
@grasses grasses closed this as completed Jan 16, 2017
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