Skip to main content

SAML endpoints

Gredit exposes SAML routes for federated authentication with an identity provider (IdP). They do not belong to the /api/v1/ namespace and do not use the JWT token from API access.

To configure the IdP, certificates, and attribute mapping, see SAML.

Endpoints

MethodRouteDescription
GET/saml/:tenant_name/authStarts the SAML authentication flow toward the IdP
POST/saml/:tenant_name/callbackReceives the SAML assertion from the IdP after login
GET/saml/:tenant_name/metadataService Provider (SP) metadata for IdP registration

:tenant_name identifies the SAML configuration for the corresponding account or tenant.