All the major OAuth providers. One profile API.Explore the quickstart
Documentation navigation

Provider availability

Deployment-wide status, not project-specific authorization. Browser clients use their backend for this API.

On this page
GEThttps://api.anyoauth.com/api/providers

Authentication: No credentials.

Request

No request body.

SDK and HTTP examples

Provider availability
import { AnyOAuth } from "@anyoauth/node";

const client = new AnyOAuth({
clientId: process.env.ANYOAUTH_CLIENT_ID ?? "YOUR_CLIENT_ID",
clientSecret: process.env.ANYOAUTH_CLIENT_SECRET ?? "YOUR_CLIENT_SECRET",
baseUrl: process.env.ANYOAUTH_API_ORIGIN ?? "https://api.anyoauth.com",
});

const providers = await client.providers();

@anyoauth/node on GitHubConfidential backend SDK

Sample input bindings are illustrative. In a callback handler, take code and transaction values from the validated request and initiating session. Client-only SDKs do not perform confidential exchange.

Response

Success status: 200.

FieldTypeRequiredDescription and constraints
[].id"google" | "github"Yes
[].configuredbooleanYes
[].enabledbooleanYes
[].availablebooleanYes
Illustrative JSON response
[
{
"id": "google",
"configured": true,
"enabled": true,
"available": true
},
{
"id": "github",
"configured": true,
"enabled": true,
"available": true
}
]

Errors

Application errors use the shared error model. Infrastructure may return non-JSON responses; SDKs expose structured transport/protocol errors. Do not automatically retry a one-time code exchange.

FieldTypeRequiredDescription and constraints
errorstringYes
messagestringNo
Illustrative error response
{
"error": "request_failed",
"message": "The request could not be completed."
}

Contract source

This page, its field tables and sample inputs derive from OpenAPI version 0.1.0. Download OpenAPI · Download JSON Schema · Response schema