List Public Providers
GET
/auth/oauth/providers/
const url = 'https://example.com/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/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
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
slug
required
Slug
URL-safe identifier used in the callback URL.
string
Example generated
[ { "display_name": "example", "provider_type": "example", "slug": "example" }]Bad request — invalid query parameters or payload
Media type application/problem+json
Unauthorized — missing or invalid credentials
Media type application/problem+json
Forbidden — caller lacks access to this resource
Media type application/problem+json
Not found
Media type application/problem+json
Validation error
Media type application/problem+json
Too many requests — retry after the advertised interval
Media type application/problem+json
Headers
Section titled “Headers ” Retry-After
integer
Seconds until the request may be retried
Internal server error
Media type application/problem+json
Service unavailable — the database could not serve the request
Media type application/problem+json