ESP APIs provide authentication flows via SPID, CIE, CNS, and EIDAS. Use these endpoints to obtain a session key, initiate a login, and retrieve a JWT containing the user's identity attributes.
Download OpenAPI description
Overview
License
Languages
Servers
Development and testing environment
https://esp-saas.test.namirialtsp.com
Production environment
https://esp-saas.namirialtsp.com
- Development and testing environmenthttps://esp-saas.test.namirialtsp.com/api/secure/{environment_name}/getUser
- Production environmenthttps://esp-saas.namirialtsp.com/api/secure/{environment_name}/getUser
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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'JWT containing the user's SAML assertion attributes
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.
- Development and testing environmenthttps://esp-saas.test.namirialtsp.com/sslprotected/{environment_name}/getUser.php
- Production environmenthttps://esp-saas.namirialtsp.com/sslprotected/{environment_name}/getUser.php
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://esp-saas.test.namirialtsp.com/sslprotected/myintegration/getUser.php?ID=_ecf182c0024338b109397ea3d04ab141&key=_029da15302d1f7bf8a4ff9826b4489c3' \
-H 'X-SSL-Client-Cert: YOUR_API_KEY_HERE'The authn key
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.
- Development and testing environmenthttps://esp-saas.test.namirialtsp.com/sslprotected/{environment_name}/getUser
- Production environmenthttps://esp-saas.namirialtsp.com/sslprotected/{environment_name}/getUser
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://esp-saas.test.namirialtsp.com/sslprotected/myintegration/getUser?ID=_ecf182c0024338b109397ea3d04ab141&key=_029da15302d1f7bf8a4ff9826b4489c3' \
-H 'X-SSL-Client-Cert: YOUR_API_KEY_HERE'The authn key
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.