{ "opencollection": "1.0.0", "info": { "name": "Logto API references Account center SAML applications auth flow API", "version": "Cloud" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oidc/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "SAML applications auth flow", "type": "folder" }, "items": [ { "info": { "name": "Handle SAML authentication request (Redirect binding)", "type": "http" }, "http": { "method": "GET", "url": "https://[tenant_id].logto.app/api/saml/:id/authn", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the SAML application." }, { "name": "SAMLRequest", "value": "", "type": "query", "description": "The SAML request message." }, { "name": "Signature", "value": "", "type": "query", "description": "The signature of the request." }, { "name": "SigAlg", "value": "", "type": "query", "description": "The signature algorithm." }, { "name": "RelayState", "value": "", "type": "query", "description": "The relay state parameter." } ] }, "docs": "Process SAML authentication request using HTTP Redirect binding." }, { "info": { "name": "Handle SAML authentication request (POST binding)", "type": "http" }, "http": { "method": "POST", "url": "https://[tenant_id].logto.app/api/saml/:id/authn", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the SAML application." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Process SAML authentication request using HTTP POST binding." } ] } ], "bundled": true }