In section 4.1.4 of the OAuth 2.0 RFC, it gives an example of an access token response:

   An example successful response:

     HTTP/1.1 200 OK
     Content-Type: application/json;charset=UTF-8
     Cache-Control: no-store
     Pragma: no-cache


What is this example_parameter? It's not defined anywhere in the RFC from what I can read.


It is there to show that if you're writing a client, you may meet an implementation that returns additional parameters that are not mentioned in the RFC, as explained in section 8.2.

(For example, this implies that you should not use a JSON parsing framework that errors out when it meets unknown parameters).

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.