Handle SAML SSO login response. Processes authentication response from SAML identity provider and creates a new user if they don't exist.
POST
/auth/saml/sso
curl
curl -X POST "http://api.example.com/auth/saml/sso" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
import requests
url = "http://api.example.com/auth/saml/sso"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
params = {}
payload = None
response = requests.post(
url,
headers=headers,
params=params,
json=payload
)
response.raise_for_status()
if response.content:
print(response.json())
curl \
--request POST 'http://api.example.com/auth/saml/sso' \
--header "Authorization: $API_KEY"