| layout | docs-api | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| toc | toc-api-admin.html | |||||||||||
| title | GET /auth/login | |||||||||||
| slug |
|
Get the active authentication scheme
| Status Code | Reason | Response |
|---|---|---|
200 |
Success | See example response body |
In the current version, there are two possible responses:
{}
{% 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.