RS256
algorithm are supportedSettings
> Partner single sign-on
and clicking on Add Public Key
.
organizationId
*
: The ID of the Plerion Organization
tenantId
*
: The ID of Plerion Tenant. Once a user is bound to a tenantId
, it cannot be updated.
role
*
: Role to assign to user. Can only be admin
or readOnly
. User roles can be updated by passing different role in the parameter
email
*
: Email of the user. Each user needs to have a unique email address.
exp
*
: A JSON numeric value representing the number of seconds from epoch (1970-01-01T00:00:00Z UTC). Refer to RFC7519#Section-4.1.4 for more information.
name
: Name of the user
*
are required.
To find the details of the organization like organizationId and tenant Id, navigate to Settings
> Overview
and get the values.
You should sign the JWT token with the RS256
private-key associated with the public-key uploaded in the Plerion Platform.
token
parameter, with the value being the JWT token.
token
property in the body.
Response:
Status Code
302
Headers:
Location: <redirect_url>
tenantId
.
Admin
> Users
Partner SSO
fieldAdmin
> Users
Code | Message |
---|---|
InvalidToken | The provided token is invalid. |
InvalidPayload | Relevant message regarding the payload |
InvalidKeyOrTenant | Public Key not set for Tenant or Invalid tenantId |
ExpiredToken | The token has expired |