Skip to content
Menu

Developers

Three APIs. One identity platform.

Quasr is API-first: the hosted Login and Admin UIs run on the same APIs you get. Authenticate with REST, manage with GraphQL, and let AI agents work through MCP.

Getting started

From sign-up to your first token.

  1. $ 1

    Create an account

    Sign up for free, no credit card required, and create your first tenant in the Account UI.

  2. $ 2

    Register your app

    Add your application as a client in the Admin UI and choose the controls it needs.

  3. $ 3

    Connect with OpenID Connect

    Point any OIDC library at your tenant’s discovery document; no proprietary SDK required.

  4. $ 4

    Test it

    Use the Test button in the Admin UI to run a login and inspect the resulting token.

REST

Authentication API

OAuth 2.0, OpenID Connect and Solid flows, plus sign-up and login with every factor. It’s what the Login UI runs on, so you can build your own.

https://{tenant_id}.api.quasr.io

  • Discovery, JWKS and authorization server metadata
  • Token revocation (RFC 7009) and introspection
  • Rate limits per endpoint; static responses cached on the CDN
Read the docs →
endpoints
# https://{tenant_id}.api.quasr.io
GET  /.well-known/openid-configuration
GET  /.well-known/jwks.json
GET  /oauth2/authorize
POST /oauth2/token
POST /oauth2/introspect
POST /oauth2/revoke
GET  /oidc1/userinfo

GraphQL

Management API

One endpoint for every resource: tenants, accounts, factors, controls, clients, attributes and extensions. It powers the Admin and Account UIs.

https://{tenant_id}.api.quasr.io/graphql

  • Bearer access tokens with granular, nested scopes
  • Schema introspection and a visual schema explorer
  • Each operation labelled normal, sensitive or danger
Read the docs →
create-tenant.graphql
mutation createTenant(
    $input: CreateTenantInput!
) {
    createTenant(input: $input) {
        id
        label
        account
        subscription
        status
        created_at
        created_by
        updated_at
        updated_by
        expires_at
    }
}

MCP

Agent API

Every Management API operation as a Model Context Protocol tool, so AI agents can manage a tenant with the same scopes and permissions as any other client.

https://{tenant_id}.api.quasr.io/mcp

  • Every operation as a tool, over MCP Streamable HTTP
  • Secrets redacted from tool results automatically
  • Tokens can be limited to the Agent API only (RFC 9728)
  • Setup guides for Claude Code, Claude Desktop, Cursor, VS Code and Copilot
Read the docs →
tools
# https://{tenant_id}.api.quasr.io/mcp
list-tenants        create-tenant
list-accounts       create-account
list-factors        create-factor
list-controls       create-control
list-attributes     search-claims
list-extensions     create-extension
list-events         list-metrics
…

Node.js

Extensions

Serverless functions that run before tokens are issued or when one of 136 platform events happens.

nodejs24.x

  • Add claims and set scopes
  • Send one-time passwords through your own provider
  • Sync users and events to your stack
Read the docs →
extension.js
/**
 * Add the customer tier from your own API to the access token.
 */
exports.handler = async function(event) {
    try {
        const response = await fetch(`https://api.example.com/customers/${event.account_id}`, {
            headers: { 'Authorization': `Bearer ${event.variables.api_key}` }
        });
        const customer = await response.json();
        return {
            scope: event.detail.scope,
            customer_tier: customer.tier
        };
    } catch (error) {
        console.error(error.message);
        return {
            scope: event.detail.scope
        };
    }
}

Ship login this afternoon.

Create a free account, configure your first tenant and connect your app with OpenID Connect.

No credit card required