Skip to main content

Get login authentication type

POST 

/api/v4/users/login/type

Get the authentication service type (auth_service) for a user to determine how they should authenticate. This endpoint is typically used in the login flow to determine which authentication method to use.

For this version, the endpoint only returns a non-empty auth_service if the user has magic_link enabled. For all other authentication methods (email/password, OAuth, SAML, LDAP), an empty string is returned.

Permissions

No permission required

Request

Responses

Login type retrieved successfully