Skip to main content
Skip table of contents

Authentication Token (AuthN)

1. About

This page defines the format of the Authentication Token. This token needs to be generated and used by service providers for each request performed on SSP backend services like ADM, RMG, IMS or CKM.  


2. Diagram


3. Header

3.1. Schema

JSON
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "SSP Token Header Schema",
  "required": [
    "typ",
    "alg",
    "kid"
  ],
  "properties": {
    "typ": {
      "description": "JSON Web Token type",
      "type": "string",
      "value": "JWT"
    },
    "alg": {
      "description": "Hashing algorithm used",
      "type": "string",
      "value": "HS256"
    },
    "kid": {
      "description": "Identifier of the credential used to sign the token",
      "type": "string"
    }
  }
}

3.2. Sample

JSON
{
  "typ": "JWT",
  "alg": "HS256",
  "kid": "263953"
}


4. Payload

4.1. Schema

JSON
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Authentication Token Payload Schema",
  "required": [
    "typ",
    "ver"
  ],
  "properties": {
    "typ": {
      "description": "Authentication token type",
      "type": "string",
      "value": "AuthN"
    },
    "ver": {
      "description": "Authentication token version",
      "type": "string",
      "value": "1.0"
    },
    "exp": {
      "description": "Expiration date of the token, as Epoch time in secs",
      "type": "integer",
      "minimum": 0,
      "maximum": 4294967295
    }
  }
}

4.2. Sample

JSON
{
  "typ": "AuthN",
  "ver": "1.0",
  "exp": 1463326662
}


5. Signature

In order to build signature, token's header and payload are signed:

  • Signing key used corresponds to the SSP tenant's credential identified by "kid" claim from the token's header.

  • Algorithm used is HMAC-SHA256 as described in https://tools.ietf.org/html/rfc7518, section 5.2.


JavaScript errors detected

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

If this problem persists, please contact our support.