コンテンツにスキップ

List public login authentication methods.

GET
/api/auth/authentication-methods
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/auth/authentication-methods

Returns the enabled login methods and Login UI configuration for the current tenant, including passkey, email code, TOTP, directory password, human verification, SAML, and external provider options when configured.

client_id
string

Optional OAuth client id used to resolve client-level Login UI theme overrides.

Successful JSON response.

Media type application/json
object
methods
required
object
passkey
object
key
additional properties
emailCode
object
key
additional properties
totp
object
key
additional properties
directoryPassword
object
key
additional properties
humanVerification
object
key
additional properties
external
object
key
additional properties
key
additional properties
ui
required
object
key
additional properties
meta
required
object
cacheTTL
required
integer
revision
required
string format: date-time
Example
{
"methods": {
"passkey": {
"enabled": true,
"loginEnabled": true,
"signupEnabled": true,
"capabilities": [
"conditional",
"discoverable"
]
},
"emailCode": {
"enabled": true,
"steps": [
"email",
"code"
]
},
"totp": {
"enabled": false,
"loginEnabled": false,
"signupEnabled": false,
"reauthEnabled": false,
"accountLinkEnabled": false
},
"external": {
"enabled": false,
"providers": []
}
},
"ui": {
"theme": "light",
"variant": "beige",
"branding": {
"brandName": "Authrim"
}
},
"meta": {
"cacheTTL": 60,
"revision": "2026-06-19T00:00:00.000Z"
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}