Skip to content

Get a user JWT

Request

Security
ApiKeyAuth
Path
environment_namestringrequired

The environment path provided by Namirial during the assessment phase

Example:myintegration
Query
sessionidstringrequired

The user identifier returned as a query parameter in the redirect to the final URL after login.

Example:sessionid=_ecf182c0024338b109397ea3d04ab141
sessionkeystringrequired

The session key returned as a query parameter in the redirect to the final URL after login.

Example:sessionkey=_029da15302d1f7bf8a4ff9826b4489c3
curl -i -X GET \
  'https://esp-saas.test.namirialtsp.com/api/secure/myintegration/getUser?sessionid=_ecf182c0024338b109397ea3d04ab141&sessionkey=_029da15302d1f7bf8a4ff9826b4489c3' \
  -H 'Esp-Api-Key: YOUR_API_KEY_HERE'

Responses

JWT containing the user's SAML assertion attributes

Bodytext/plain
string(JWTBearerResponse)

A signed JWT containing the user's SAML assertion attributes. The claims vary by identity scheme (SPID vs CIE). See Get user token for decoded examples.

Response
string