mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 13:39:48 +05:30
Make urldecode clear
Mentioned the method to make it more clear and give it more attention. We should prevent issues like #582 ;)
This commit is contained in:
parent
4404e8da19
commit
13cf3f8540
@ -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