Config
const url = 'https://example.com/auth/config/';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/auth/config/Return public auth configuration (no authentication required).
Responses
Section titled “ Responses ”Successful Response
object
Whether self-serve registration is open. Alias for registration_enabled; login UI uses this to show/hide the signup link.
Auth methods contributed by the active AuthExtension. Empty by default; compatible deployments may add methods such as [‘saml’]. Login UI can render conditional sign-in options without needing admin OAuthProvider access.
Theme token for the site banner color: warning | info | success | destructive.
When true and banner_text is non-empty, the site-wide announcement banner is shown. Default false.
Admin-configured site-wide announcement banner text. Empty string means no banner is shown.
When true, logged-in users see a persistent demo-account banner. Default false — self-hosters see no banner.
When true, new self-registered users must verify their email before logging in. Default false for back-compat-safe parsing by older clients.
When true, unauthenticated visits to ’/’ are redirected to ‘/login’ as the product landing page. Default false (search catalog is the root).
When false, password login is disabled for users without manage_settings. Default true for back-compat-safe parsing by older clients.
Whether self-service registration is open
Example
{ "allow_signup": false, "banner_color": "warning", "banner_enabled": false, "banner_text": "", "demo_mode": false, "email_verification_required": false, "landing_first": false, "password_login_enabled": true}Bad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request