APIs — Authentication

APIs

This API is a traditional REST-like API that provides all functionality regarding user signup and login. It provides endpoints compliant with OAuth 2.0, OpenID Connect and Solid standards. Next to the authorization code and refresh token grants, it also supports the OAuth 2.0 Client Credentials grant for machine access and the JWT Bearer grant for native apps. This API is used by the Quasr Login UI.

Endpoints

The API provides the below endpoints. Several of them behave differently depending on whether a session token is provided as bearer token in the Authorization header: without one (no session) they return public tenant configuration, with one they return data specific to the user being logged in or signed up.

API Authorization Description
GET .well-known/openid-configuration
none
(Tag removed)
  • none
OpenID Connect discovery document.
GET .well-known/oauth-authorization-server
none
(Tag removed)
  • none
OAuth 2.0 authorization server metadata.
GET .well-known/oauth-protected-resource/{resource}
none
(Tag removed)
  • none
OAuth 2.0 protected resource metadata.
GET .well-known/jwks.json
none
(Tag removed)
  • none
Public keys to validate tokens issued by Quasr.
GET oauth2/authorize
none
(Tag removed)
  • none
Starts the OAuth 2.0 / OpenID Connect authorization flow (browser redirect).
POST oauth2/token
client
(Tag removed)
  • client
Issues tokens for the authorization code, refresh token, client credentials and JWT bearer grants.
POST oauth2/introspect
access token
(Tag removed)
  • access token
Returns the status and claims of a token.
POST oauth2/revoke
access token
(Tag removed)
  • access token
Revokes a token.
GET oidc1/userinfo
access token
(Tag removed)
  • access token
Returns claims about the user (OpenID Connect UserInfo).
POST oidc1/userinfo
access token
(Tag removed)
  • access token
Returns claims about the user (OpenID Connect UserInfo).
GET factors
none, session token
(Tag removed)
  • none
  • session token
Returns the factors available for signup and login (with a session token: the remaining enrollments or factors for the user to continue login or signup).
POST factors
none, session token
(Tag removed)
  • none
  • session token
Validates a factor during signup or login and issues a session token.
GET factors/oauth2/callback
none
(Tag removed)
  • none
Redirect URI for federated login via an external identity provider.
POST factors/oauth2/callback
none
(Tag removed)
  • none
Redirect URI for federated login via an external identity provider (form post).
GET controls
none, session token
(Tag removed)
  • none
  • session token
Returns the controls (terms, consents) that apply for a client.
POST controls
none, session token
(Tag removed)
  • none
  • session token
Accepts the controls during signup, or grants consent and issues a consent token.
GET attributes
none, session token
(Tag removed)
  • none
  • session token
Returns the attributes to capture during signup or login.
POST attributes
session token
(Tag removed)
  • session token
Stores the captured claims for the user.
GET tenants/{tenant_id}
none
(Tag removed)
  • none
Returns the public tenant configuration (e.g. used by the Login UI).
GET accounts/{account_id}
none
(Tag removed)
  • none
Returns the Solid WebID profile (or client ID document) of an account, as JSON-LD, Turtle or RDF/XML depending on the Accept header.

OAuth 2.0 / OpenID Connect

Quasr is an OAuth 2.0 authorization server and OpenID Connect identity provider. See OAuth and OpenID Connect for more details on the supported flows.

Caching

To offload the API we cache the below - generally highly static - API responses using a global CDN. Responses are only cached by the CDN, not by browsers or other clients (max-age=0). Responses that depend on a session or access token are never cached.

API Click to sort descendingCondition Click to sort ascendingStatus Click to sort ascendingDuration Click to sort ascending
GET .well-known/jwks.json
200
(Tag removed)
  • 200
1 month
GET .well-known/oauth-authorization-server
200
(Tag removed)
  • 200
1 month
GET .well-known/oauth-protected-resource/{resource}
200
(Tag removed)
  • 200
1 month
GET .well-known/openid-configuration
200
(Tag removed)
  • 200
1 month
GET *endpoints above
400, 404
(Tag removed)
  • 400
  • 404
5 min
GET accounts/{account_id}
200
(Tag removed)
  • 200
1 day
GET attributesno session
200
(Tag removed)
  • 200
1 month
GET controlsno session
200
(Tag removed)
  • 200
1 month
GET factorsno session
200
(Tag removed)
  • 200
1 month
GET tenants/{tenant_id}
200
(Tag removed)
  • 200
1 day

Rate Limits

The API is rate limited per individual endpoint to assure bandwidth availability across all endpoints. The RPS is the sustained number of requests per second, the burst is the number of requests that can be handled at once above that rate. Limits marked "no cache" only apply to requests that aren't served from the CDN cache (see Caching). Requests exceeding a limit are rejected with a 429 Too Many Requests response and should be retried with backoff.

API Click to sort descendingCondition Click to sort ascendingRPS Click to sort ascendingBurst Click to sort ascending
GET .well-known/jwks.jsonno cache250100
GET .well-known/oauth-authorization-serverno cache250100
GET .well-known/oauth-protected-resource/{resource}no cache250100
GET .well-known/openid-configurationno cache250100
GET accounts/{account_id}no cache255
GET attributesno session/cache500100
GET attributes1500100
GET controlsno session/cache250100
GET controls1000100
GET factorsno session/cache500100
GET factors1500100
GET factors/oauth2/callback250100
GET oauth2/authorize1000100
GET oidc1/userinfo5050
GET tenants/{tenant_id}no cache255
POST attributes1000100
POST controlsno session250100
POST controls250100
POST factorsno session1000100
POST factors1000100
POST factors/oauth2/callback250100
POST oauth2/introspect1000100
POST oauth2/revoke250100
POST oauth2/token1000100
POST oidc1/userinfo5050
2026.11.22 | © Copyright 2026 Quasr BV