Auto-Discovery
OIDC Discovery Endpoint
Your app can auto-discover all endpoints, supported scopes, signing algorithms, and capabilities from a single URL. Most OAuth libraries (NextAuth, Auth.js, Passport, etc.) only need this URL to configure themselves.
GET https://www.aicoo.io/.well-known/openid-configurationReturns a JSON document conforming to OpenID Connect Discovery 1.0:
{
"issuer": "https://www.aicoo.io/api/auth",
"authorization_endpoint": "https://www.aicoo.io/api/auth/oauth2/authorize",
"token_endpoint": "https://www.aicoo.io/api/auth/oauth2/token",
"userinfo_endpoint": "https://www.aicoo.io/api/auth/oauth2/userinfo",
"jwks_uri": "https://www.aicoo.io/api/auth/jwks",
"revocation_endpoint": "https://www.aicoo.io/api/auth/oauth2/revoke",
"introspection_endpoint": "https://www.aicoo.io/api/auth/oauth2/introspect",
"response_types_supported": ["code"],
"grant_types_supported": ["authorization_code", "refresh_token"],
"subject_types_supported": ["public", "pairwise"],
"id_token_signing_alg_values_supported": ["RS256"],
"scopes_supported": ["openid", "profile", "email", "offline_access"],
"code_challenge_methods_supported": ["S256"]
}