Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 911 Bytes

File metadata and controls

47 lines (39 loc) · 911 Bytes
layout docs-api
toc toc-api-admin.html
title GET /auth/login
slug
url label
/docs/api/admin
admin
url label
/docs/api/admin/methods
methods
get auth

Get the active authentication scheme

Response

Status Code Reason Response
200 Success See example response body

In the current version, there are two possible responses:

No active authentication

{}

Credential based authentication

{% highlight json %} { "type": "credentials", "prompts": [ { "id": "username", "type": "text", "label": "Username" }, { "id": "password", "type": "password", "label": "Password" } ] } {% endhighlight %}

The prompts field indicates what properties are required to be provided in the token exchange.