Skip to main content
Skip table of contents

Bearer token response

Authentication via either grant type to IAS will result in the same response – a JWT bearer token, also called an Access Token.

Success response example

XML
{
    "access_token"
    :eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.XbPfbIHMI6arZ3Y922BhjWgQzWXcXNrz0ogtVhfEd2o,
    "client_id": "Nagra_test_device_0123",
    “accountId”: “Account123”,
    "token_type"
    :"bearer"
    ,  
    "expires_in"
    :
    3600
}
ParameterTypeCardinalityDescriptionAlways provided
access_tokenstring1..1A JWT bearer tokenYes
client_idstring1..1The client id of the managed deviceYes
accountIdstring1..1The account id of the accountYes
token_typestring1..1The token type, always "bearer"Yes
expires_innumber1..1The number of seconds before the token expiresYes
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.