Skip to Content
ReferenceAPI referenceAuth

List the login methods this server offers

GET
/api/v1/auth/options

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.

Response Body

Request fulfilled, document follows

application/json
  1. response

The login methods this server offers.

oidc*|null
password*boolean

Whether the username and password login is on.

Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/auth/options'
Example Response200
{  "oidc": {    "providerName": "string"  },  "password": true}