SSA
Create SSA.
Create SSA for the organization with expiration (optional).
Security: Bearer Auth
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer {{your-access-token}}
Security: OAuth 2.0
Scopes:
- https://jans.io/auth/ssa.admin - SSA Admin, You can create SSA.
post/restv1/ssa
Request body
Example request
{
"description": "Your description of SSA",
"expiration": 1660832042,
"software_id": "gluu-scan-api",
"software_roles": [
"password"
],
"grant_types": [
"client_credentials"
],
"lifetime": 86400
}Response
Created
Example response
{
"ssa": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3BvcnRhbC5nbHV1Lm9yZyIsImlhdCI6IjE2NTUzMTkyNjgiLCJqdGkiOiJmN2I1OTkxYy00YzE4LTRjODEtYTY2NC1lNmY4NjcwZjVkNTEiLCJzb2Z0d2FyZV9pZCI6ImdsdXUtc2Nhbi1hcGkiLCJvcmdfaWQiOjEsInNvZnR3YXJlX3JvbGVzIjpbInBhc3N3dXJkIl0sImp3a3NfdXJpIjoiaHR0cHM6Ly9jbG91ZC1kZXYuZ2x1dS5jbG91ZC9wb3J0YWwvandrcyIsImdyYW50X3R5cGVzIjpbImNsaWVudF9jcmVkZW50aWFscyJdLCJleHAiOjE2NTkzMTkyNjh9.MkE-47SvBshmazBfyhAcHsqPpFIbg5CpA8k2TxDWhxc"
}