Generate a JSON Web Token (JWT)
-
- UpdatedFeb 1, 2024
- 1 minute read
- Washington DC
- Platform Security
Create a JSON Web Token (JWT) for representing claims securely between two parties on the ServiceNow AI Platform.
The GlideJWT API is a scoped, scriptable API which generates a
JWT.
There are three arguments necessary before generating the JWT:
- Sys_id of JWT Provider
- JSON serialized header
- JSON serialized payload
To generate a JWT: You can use the API to create your token.
You can use standard and custom claims when configuring a JWT provider. You can pass dynamic header and payload claims as part of the generateJWT API signature.