OAuth and OIDC endpoints

Every OAuth 2.0 and OpenID Connect endpoint and discovery document onefold serves, with what each one is for and what is and is not supported.

onefold is an OAuth 2.0 authorization server and an OpenID Connect provider. These are its endpoints. A library that reads the discovery document finds them by itself.

Issuer

https://onefold.eitozx.com

The issuer is the iss of every ID token and audience-bound access token, the iss parameter on every callback, and the issuer in both discovery documents. It does not change when an application uses a custom domain.

Endpoints

EndpointMethodPurposeGuide
/o/authorize/GETStart a sign-inAuthorization request and callback
/o/token/POSTExchange a code, or refreshToken exchange, Keep users signed in
/o/revoke_token/POSTRevoke a tokenSign out and revoke
/o/userinfo/GETRead the user's claims. Needs the openid scope.Scopes and claims
/o/introspect/POSTCheck an audience-bound token you ownProtect your API

Requests to /o/token/, /o/revoke_token/ and /o/introspect/ are form-encoded.

Discovery documents

DocumentURL
OpenID Connect discovery/.well-known/openid-configuration
JSON Web Key Set/.well-known/jwks.json
OAuth authorization server metadata (RFC 8414)/.well-known/oauth-authorization-server
OAuth protected resource metadata (RFC 9728)/.well-known/oauth-protected-resource

All four are public, need no credential, and can be fetched from a browser.

What is supported

FeatureSupport
Grant typesauthorization_code, refresh_token
Response typescode
PKCERequired for every client by default. S256 only. See PKCE.
Client authenticationclient_secret_basic, client_secret_post, and none for public clients
ID token signingRS256
Scopesopenid, identity, profile, socials:<provider>
promptnone, login
nonceYes
claims request parameterIts userinfo member. The user approves the claims on the consent screen. See Request individual claims.
acrIn every ID token, from acr_values_supported: "1" for one factor, "2" for two. acr_values is accepted and not enforced.
Issuer in the authorization response (RFC 9207)Yes, on every response
Resource indicators (RFC 8707)Yes, for registered protected resources
Token revocation (RFC 7009)Yes
Token introspection (RFC 7662)For audience-bound tokens, by the resource's owner
Client ID Metadata DocumentsYes, for MCP clients reaching a registered protected resource. See Secure your own MCP server.

What is not supported

FeatureNotes
Implicit and hybrid flowsUse the authorization code flow
Resource owner password grantNot available
Client credentials grantUse an API key for server-to-server calls
Device authorization grantNot available
RP-initiated logoutThere is no end_session_endpoint
Dynamic client registrationRegister applications in the developer portal
PKCE plainRefused
Request objects (request, request_uri)Refused with request_not_supported or request_uri_not_supported. Send the parameters in the query string.

Errors

These endpoints use the OAuth 2.0 error format. See Errors.

On this page