mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-11 15:58:58 +05:30
commit
ec79b317e1
@ -37,7 +37,9 @@ The client will now send a POST request to the authorization server with the fol
|
|||||||
* `client_id` with the client identifier
|
* `client_id` with the client identifier
|
||||||
* `client_secret` with the client secret
|
* `client_secret` with the client secret
|
||||||
* `redirect_uri` with the same redirect URI the user was redirect back to
|
* `redirect_uri` with the same redirect URI the user was redirect back to
|
||||||
* `code` with the authorization code from the query string **(remember to url decode it first)**
|
* `code` with the authorization code from the query string
|
||||||
|
|
||||||
|
Note that you need to decode the `code` query string first. You can do that with `urldecode($code)`.
|
||||||
|
|
||||||
The authorization server will respond with a JSON object containing the following properties:
|
The authorization server will respond with a JSON object containing the following properties:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user