List Public Providers
GET
/auth/oauth/providers/
const url = 'https://example.com/api/auth/oauth/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 https://example.com/api/auth/oauth/providers/Return the list of enabled OAuth providers for the login page.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response List Public Providers Auth Oauth Providers Get
Array<object>
OAuthProviderPublicMinimal provider info for the login page (no secrets, no config).
object
slug
required
Slug
URL-safe identifier used in the callback URL.
string
display_name
required
Display Name
Label shown on the login page button.
string
provider_type
required
Provider Type
Provider type, used by the frontend to pick the right icon.
string
Example generated
[ { "slug": "example", "display_name": "example", "provider_type": "example" }]