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.comThe 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
| Endpoint | Method | Purpose | Guide |
|---|---|---|---|
/o/authorize/ | GET | Start a sign-in | Authorization request and callback |
/o/token/ | POST | Exchange a code, or refresh | Token exchange, Keep users signed in |
/o/revoke_token/ | POST | Revoke a token | Sign out and revoke |
/o/userinfo/ | GET | Read the user's claims. Needs the openid scope. | Scopes and claims |
/o/introspect/ | POST | Check an audience-bound token you own | Protect your API |
Requests to /o/token/, /o/revoke_token/ and /o/introspect/ are form-encoded.
Discovery documents
| Document | URL |
|---|---|
| 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
| Feature | Support |
|---|---|
| Grant types | authorization_code, refresh_token |
| Response types | code |
| PKCE | Required for every client by default. S256 only. See PKCE. |
| Client authentication | client_secret_basic, client_secret_post, and none for public clients |
| ID token signing | RS256 |
| Scopes | openid, identity, profile, socials:<provider> |
prompt | none, login |
nonce | Yes |
claims request parameter | Its userinfo member. The user approves the claims on the consent screen. See Request individual claims. |
acr | In 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 Documents | Yes, for MCP clients reaching a registered protected resource. See Secure your own MCP server. |
What is not supported
| Feature | Notes |
|---|---|
| Implicit and hybrid flows | Use the authorization code flow |
| Resource owner password grant | Not available |
| Client credentials grant | Use an API key for server-to-server calls |
| Device authorization grant | Not available |
| RP-initiated logout | There is no end_session_endpoint |
| Dynamic client registration | Register applications in the developer portal |
PKCE plain | Refused |
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.
Rate limits
How the onefold per-application request budget works, which calls count toward it, and how to handle a 429 response.
Read the person's activity with your application GET
Sign-ins to your application, consents given and withdrawn, blocks, and profile edits naming the fields your scopes and configuration disclose. Never another application's rows, an IP address or a user agent. Needs `profile:activity`; `profile_section_hidden` when your configuration hides the activity section.