Skip to content
getgeolens.com

Config

GET
/auth/config/
curl --request GET \
--url https://example.com/api/auth/config/

Return public auth configuration (no authentication required).

Successful Response

Media type application/json
ConfigResponse
object
registration_enabled
required
Registration Enabled

Whether self-service registration is open

boolean
auth_methods
Auth Methods

Auth methods contributed by the active AuthExtension. Empty in community; e.g. [‘saml’] when the enterprise SAML overlay is installed. Login UI can render conditional sign-in options without needing admin OAuthProvider access.

Array<string>
Example generated
{
"registration_enabled": true,
"auth_methods": [
"example"
]
}

Bad request — invalid query parameters or payload

Unauthorized — missing or invalid credentials

Forbidden — caller lacks access to this resource

Not found

Validation error

Internal server error