Quasr
  • Introduction
    • Welcome to Quasr
    • Concepts
      • Flexible Authentication
      • User-Centric Privacy
      • Modern Development
    • Terminology
    • FAQs
  • Getting Started
    • Sign up with Quasr
    • Setup your tenant
      • Factor Configuration
      • Enrolling additional factors
      • Test with the Sample Client
      • Understanding Scopes & Scores
      • Setting up an API Client (M2M)
    • Connect your app
      • Hosted Login UI
      • Custom Login UI
      • Embedded Login UI
  • Account Administration
    • Introduction
    • Account & Billing
      • Metrics
    • Tenants
    • Usage & Statistics
    • Security
  • Tenant Administration
    • Introduction
    • Dashboard
    • Tenant Settings
    • Your Security
    • Accounts
      • Tenant Admins
    • Factors
      • Factors and Scoring
      • Username (ID)
      • Identity Provider (IDP)
        • Apple
        • Facebook
        • GitHub
        • Google
        • LinkedIn
        • Slack
      • Time-based One-time Password (TOTP)
      • One-Time Password (OTP)
      • Password
      • Secret
    • Controls
      • Configuration
      • Permissions
      • Consents
      • Rules
    • Attributes
      • Capturing Claims
      • Sourcing Claims
      • Viewing Claims
      • Searching Claims / Users
      • Sharing Claims
    • Extensions
      • Synchronous
      • Asynchronous
    • Tokens
      • Session Token (OAuth 2.0)
      • Access Token (OAuth 2.0)
      • Refresh Token (OAuth 2.0)
      • ID Token (OIDC 1.0)
      • Consent Token
      • Authorization Code (OAuth 2.0)
    • Hosted Login Page
    • APIs
      • Authentication API
      • Management API (GraphQL)
  • Legal
    • Terms of Service
    • Acceptable Use Policy
    • DPA & Subprocessors
  • More Info
    • Standards
    • Security
      • Vulnerability Disclosure
      • Wall of Recognition
    • Support
    • Status
Powered by GitBook
On this page
  • Authentication API
  • Postman Collection
  • Caching
  • Rate Limits
  1. Tenant Administration
  2. APIs

Authentication API

PreviousAPIsNextManagement API (GraphQL)

Last updated 11 months ago

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

Postman Collection

API documentation and a Postman collection are available at

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

If you exceed 300 requests in 5 min from a single IP address it will be temporarily blocked until you reduce your rate (this can sometimes take a couple minutes). This limitation can be relevant for large shared networks or back-end integrations that operate via fixed IP.

We block IPs that are listed as either malicious or actively engaged in reconnaissance or DDOS activities (AWS IP reputation list).

https://{tenant_id}.api.quasr.io/.well-known/openid-configuration
https://documenter.getpostman.com/view/18129777/UVXgMHEv