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
| Method | Route | Description |
|---|---|---|
GET | /saml/:tenant_name/auth | Starts the SAML authentication flow toward the IdP |
POST | /saml/:tenant_name/callback | Receives the SAML assertion from the IdP after login |
GET | /saml/:tenant_name/metadata | Service Provider (SP) metadata for IdP registration |
:tenant_name identifies the SAML configuration for the corresponding account or tenant.