Merge pull request #583 from bobmulder/patch-3

Make urldecode clear
This commit is contained in:
Alex Bilbie 2016-05-19 14:07:38 +01:00
commit ec79b317e1

View File

@ -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: