Authentication API

Authentication API

Quasr as an OAuth2 authorization server implementation provides an OAuth2 (and OpenID Connect) API according to specs.

The API endpoint is https://{tenant_id}.api.quasr.io

The OpenID Connect Discovery document is at https://{tenant_id}.api.quasr.io/.well-known/openid-configuration

Postman Collection

API documentation and a Postman collection are available at https://documenter.getpostman.com/view/18129777/UVXgMHEv

Caching

To offload the API we cache the below - generally highly static - API responses using a global CDN.

API
Status
Duration

GET factors (without session)

200

1 day

GET controls (without session)

200

1 day

GET accounts/{account_id}

200

1 day

GET .well-known/openid-configuration

200

1 month

GET .well-known/jwks.json

200

1 month

GET oidc1/userinfo

200

5 min

GET *

400 / 401

5 min

There's no need to try to bypass the CDN cache as the cached entries are automatically and immediately invalidated upon relevant changes. We've also designed our services as such to make it difficult to bypass the cache.

Rate Limits

The API is rate limited per individual endpoint to assure bandwidth availability across all endpoints.

API
RPS
Burst

GET .well-known/openid-configuration

250
100

GET .well-known/jwks.json

250
100

GET controls

250
100

GET factors

500
100

POST controls ("signup")

250
100

POST factors ("login")

1000
100

GET controls (session)

1000
100

GET factors (session)

1500
100

POST controls (session)

250
100

POST factors (session)

1000
100

GET oauth2/authorize

1000
100

POST oauth2/token

1000
100

GET oauth2/callback

250
100

POST oauth2/callback

250
100

GET oidc1/userinfo

50
50

POST oidc1/userinfo

50
50

Last updated