SCIM Token Key

A SCIM token is typically required to authenticate and authorise API requests from an IdP.

A token may be generated by using the generate-scim-token.ts script in the Deianira project.

The script requires the following parameters:

  • Base URL The base URL of the application.
  • Secret The secret to use to sign the token.
  • Provider The id of the provider.
cd deianira/
npx ts-node src/scripts/generate-scim-token.ts -b https://uat.asterias.io -s 'Sc1mJotSup3rS3cr3tN0ttF0rPr0d!' -p jumpcloudsaml

This would generate output like the following:

✔ scim token generated
ℹ token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NDEzNjI5MDQsImV4cCI6MTg5OTE1MDkwNCwiYXVkIjoiaHR0cHM6Ly9qYWNxdWVzZy1zc28ubmdyb2suaW8vc2NpbS9qdW1wY2xvdWRzYW1sIiwiaXNzIjoiaHR0cHM6Ly9qYWNxdWVzZy1zc28ubmdyb2suaW8ifQ.yQBBeX1hEFgnfuQCO3ZQsHNg5mWXDCwuec3P8EWXcjw
ℹ iat: 1741362904 (2025-03-07T15:55:04.000Z)
ℹ exp: 1899150904 (2030-03-07T21:55:04.000Z)
ℹ aud: https://uat.asterias.io/scim/jumpcloudsaml
ℹ iss: https://uat.asterias.io