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:
Bob Mulder 2016-05-19 14:22:36 +02:00
parent 4404e8da19
commit 13cf3f8540

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_secret` with the client secret
* `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: