Get the OIDC single sign-on status
Reports whether OIDC is configured, whether discovery against the issuer worked and the last discovery error. It also says whether password login and identity provider logout are on. API keys get a 403 here; use a browser session.
sessionCookiesession<token>Session cookie authentication.
Request fulfilled, document follows
application/json- response
The state of OIDC single sign-on, as Settings > Status shows it.
configured*booleandetail*|The error from the last failed discovery attempt, else null.
discovery*stringWhether reading the issuer's discovery document worked. pending means no attempt has finished yet, or OIDC is not configured.
"ok""failed""pending"idpLogout*booleanOIDC_LOGOUT_IDP. When true, logout also ends the identity provider session if the provider lists an end_session_endpoint.
issuer*string|nullpasswordLogin*booleanWhether the username and password login is on.
providerName*string|nullcurl -X GET 'https://geometrikks.example.com/api/v1/auth/oidc/status'{ "configured": true, "detail": "string", "discovery": "ok", "idpLogout": true, "issuer": "string", "passwordLogin": true, "providerName": "string"}Get the logged-in user GET
Returns the username and how the user logged in. A request without a session gets a 401. With APP_AUTH_DISABLED=true it answers with `mode` set to `disabled`. API keys get a 403 here; use a browser session.
List the login methods this server offers GET
Says whether password login is on and, when OIDC single sign-on is set up, gives the provider's name. It needs no credentials, so the login page can call it first. With APP_AUTH_DISABLED=true both are off.