List sign-in providers
GET
/api/v1/auth/providers
const url = 'http://localhost:8080/api/v1/auth/providers';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/auth/providersThe OpenID Connect providers people can sign in with, such as Authentik, Authelia or Google, for drawing sign-in buttons. Empty when the server has none.
Responses
Section titled “Responses”The providers.
Media typeapplication/json
object
items
required
Array<object>
object
id
required
string
name
required
For the sign-in button.
string
Example generated
{ "items": [ { "id": "example", "name": "example" } ]}