jspωiki
OAuth Token Response

Overview#

OAuth Token Response is a process following the OAuth Token Request where Authorization Server:

If validation is successful, the Authorization Server responds to the OAuth Client with a response with the following parameters as described in Section 4.1.4 of OAuth 2.0 RFC 6749. The response SHOULD be encoded using UTF-8 RFC 3629.

The OAuth Client can then use the access_token to access protected Resources at Resource Servers.

The following is a non-normative example (with line wraps for the display purposes only):

HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-cache, no-store
Pragma: no-cache

{
 "access_token":"SlAV32hkKG",
 "token_type":"Bearer",
 "expires_in":3600,
 "refresh_token":"tGzv3JOkF0XG5Qx2TlKWIA",
 "id_token":"eyJ0 ... NiJ9.eyJ1c ... I6IjIifX0.DeWt4Qu ... ZXso"
}

More Information#

There might be more information for this subject on one of the following: