Get the logged-in user
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.
sessionCookiesession<token>Session cookie authentication.
Request fulfilled, document follows
application/json- response
The user of the current browser session.
mode*stringprovider*stringHow the user logged in, with the admin password or through OIDC single sign-on.
"password""oidc"username*stringcurl -X GET 'https://geometrikks.example.com/api/v1/auth/me'{ "mode": "session", "provider": "password", "username": "string"}Log out and end the browser session POST
Ends the current session. After an OIDC login with OIDC_LOGOUT_IDP on, `redirectTo` holds the identity provider's sign-out URL, as long as the provider lists an end_session_endpoint. API keys get a 403 here; use a browser session.
Get the OIDC single sign-on status GET
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.