#

Scenario

Sample Data

1

Authenticate Client App using Identity API

Response Example:{

  "access_token": "VNwnpWbz5wwCyY3gbmHa4ksqzN9y",
  "expires_in": "1799",
  "scope": "accounts",
  "token_type": "Bearer"
}

2

Exchange Auth Code for Access Token using Identity API

Response Example:

{

    "access_token": "gbxkOQLPTLEt1hv72i91aeZ1ddH4",

    "expires_in": 1799,

    "refresh_token": "7cCZ6zDAEhnRmkxkUA40NKRPnCcaZ0Wz",

    "refresh_token_expires_in": 86399,

    "token_type": "Bearer",

    "scope": "accounts",

    "id_token": "eyJraWQiOiJHSW44M3hrRUQ1MUlqbXk3SFBIVE5zOTNWSU0iLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoiLWFGOTRJUk9OWHgxamdZTVcyNWNpUSIsInN1YiI6ImFpc3AtMTAwMiIsImF1ZCI6IlpjdFdBY1kwNWRGcVFXbW1YNUdtYksiLCJhY3IiOiJ1cm46b3BlbmJhbmtpbmc6cHNkMjpzY2EiLCJvcGVuYmFua2luZ19pbnRlbnRfaWQiOiJhaXNwLTEwMDIiLCJzX2hhc2giOiJiT2h0WDhGNzNJTWpTUGVWQXF4eVRRIiwiaXNzIjoiaHR0cHM6Ly9vYi15YnMuc2FuZGJveC55YnMuY28udWsiLCJleHAiOjE1NTYxMDYxMDIsImlhdCI6MTU1NjEwMjUwMiwibm9uY2UiOiJuLTBTNl9XekEyTWoiLCJqdGkiOiJlOTBlZWQ0Ni0zMDA3LTRkNTctOWIwNC0wZTc1M2RkYjliNWMifQ.KTc0ua6uE4xqtgXsdplolkac6Hyckd7xLTZGQ4QuZ-593I7wtCJt8YzArRW57_05nmfvQY14XD9FqZjvejjJ81O_FwfVcMu1ID__InxUb8obrxdGXXX98R3w7037xwLNEYTY7D0IHcrtuQ-VAJrcwWkSp3nh3lCAtLgZFZRyw3K8pyHKajyZrVM53E5oUwyjcSwVXm5X8c1uuXIEBT9qKG44YxoOObnZ53awnJtiTZZR0AWhD21mfVNzIN191YDYDs93qVXWUfir5_fx3-gxF-NpB2wmaxY3b9QQKkkTd-ywlQNXKG24ycKFweVhWivaheTHhrbT23-ojxrQ7jUHRw"

3 Get a new access token for a Refresh Token using Identity API

Response Example:

{

    "issued_at": "1556102554262",

    "access_token": "dwaNAXHP74auHEbFAwOdkGWQTpmt",

    "expires_in": 1799,

    "refresh_token": "vUTLSNjs5iOjrn0OYnGaY8heil3v6ACx",

    "refresh_token_expires_in": 86347,

    "token_type": "Bearer",

    "scope": "accounts"