Skip to content
Esc
navigateopen⌘Jpreview
Dashboard

Get enabled login methods

Get enabled login methods: Returns recipes with their enabled setting and recipe specific configuration.

GET/{apiBasePath}/{tenantId}/loginmethods
Path parameters
apiBasePathstringrequired
Its value depends on the apiBasePath set by the user
tenantIdstring
The tenant against which the request is made. If left empty, the default tenant will be used.
Query parameters
clientTypeclientType
Header parameters
ridstring
The multitenancy recipe ID
Responses
200Get enabled login methods
One of:
object
statusstatusOKrequired
Success status indicator
Allowed:OK
recipesobjectrequired
Show properties
emailPasswordobjectrequired
Show properties
enabledbooleanrequired
thirdPartyobjectrequired
Show properties
enabledbooleanrequired
providersobject[]required
Show properties
Array of object
idthirdPartyIdrequired
Third party provider identifier
namestring
passwordlessobjectrequired
Show properties
enabledbooleanrequired
firstFactorsstring[]required
generalErrorResponse
statusstring
Error status code
Allowed:GENERAL_ERROR
messagestring
Error message
404Resource not found error
string
500Internal server error
string
Try it
Server
Parameters
Request
curl -X GET "/auth/public/loginmethods"
Response
{
  "status": "OK",
  "recipes": {
    "emailPassword": {
      "enabled": true
    },
    "thirdParty": {
      "enabled": true,
      "providers": [
        {
          "id": "google",
          "name": "Google"
        }
      ]
    },
    "passwordless": {
      "enabled": true
    },
    "firstFactors": [
      "string"
    ]
  }
}

API reference

API schema and response details