Skip to main content
POST
/
auth
/
{id}
/
{provider}
/
callback
OAuth / SAML callback (POST)
curl --request POST \
  --url http://localhost:3010/auth/{id}/{provider}/callback \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'SAMLResponse=<string>' \
  --data 'RelayState=<string>'
{
  "Status": "error",
  "Error": "Profile not found"
}

Path Parameters

id
string
required

The unique identifier of the authentication profile.

provider
string
required

The provider sub-path. For Social/OIDC providers this is the Goth provider name (e.g. github, linkedin, openid-connect). For SAML it is saml. For LDAP/Proxy it matches the configured provider identifier.

Body

application/x-www-form-urlencoded
SAMLResponse
string

Base64-encoded SAML assertion (SAML POST binding).

RelayState
string

SAML relay state value.

Response

Redirect to ReturnURL after successful authentication.