-
Notifications
You must be signed in to change notification settings - Fork 36
OAuth Endpoints
Bendy Zhang edited this page May 9, 2018
·
1 revision
-
GET /oauth/authorize?response_type=code&scope&client_id&redirect_uri
Redirect to
redirect_uri?code=...
-
POST /oauth/token?grant_type=authorization_code&client_id&client_secret&code&redirect_uri
{ "access_token": "", "token_type": "bearer", "refresh_token": "", "expires_in": 10000, "scope": "", "avatar": "", "username": "yourname" }