Vai al contenuto

Get user

Exchanges the session id and key (returned after login) for a JWT containing the user's identity attributes.

Get a user JWT

Richiesta

Sicurezza
ApiKeyAuth
Percorso
environment_namestringobbligatorio

The environment path provided by Namirial during the assessment phase

Esempio:myintegration
Query
sessionidstringobbligatorio

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

Esempio:sessionid=_ecf182c0024338b109397ea3d04ab141
sessionkeystringobbligatorio

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

Esempio: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'

Risposte

JWT containing the user's SAML assertion attributes

Corpotext/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.

Risposta
string