developers

Get Access Token By Refresh Token

Changed on

Get Access Token By Refresh Token

post/get-access-token-by-refresh-token

Request

  • Base URL
    https://gluu.org
  • URL
    https://gluu.org/get-access-token-by-refresh-token
  • Auth
    none declared

Headers

Authorizationstring
AuthorizationOxdIdstring

Request body

oxd_idstring required
refresh_tokenstring required
scopestring[] required

Example request

{
  "oxd_id": "bcad760f-91ba-46e1-a020-05e4281d91b6",
  "refresh_token": "33d7988e-6ffb-4fe5-8c2a-0e158691d446",
  "scope": [
    "openid"
  ]
}

Response

OK

scopestring[] required
access_tokenstring required
expires_ininteger required
refresh_tokenstring required

Example response

{
  "scope": [
    "openid",
    "profile",
    "uma_protection",
    "email"
  ],
  "access_token": "b75434ff-f465-4b70-92e4-b7ba6b6c58f2",
  "expires_in": 299,
  "refresh_token": "33d7988e-6ffb-4fe5-8c2a-0e158691d446"
}

Changes

    • info

      added the new optional header request parameter AuthorizationOxdId

    • info

      added optional request body

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status