SSignrixDeveloper docsAccount center

Signrix API · v1

Identity infrastructure for
modern applications.

OpenID Connect, PKCE, scoped access tokens, tenant isolation, and a management API — documented for production.

Issuerhttps://sess.my.id
APIhttps://api.signrix.com/v1

Overview

Signrix separates the central IdP at sess.my.id from product APIs. Applications authenticate with OIDC; APIs accept signed access tokens. Sessions are host-only and never shared through wildcard cookies.

OIDC + PKCE

Authorization code flow with S256 verifier, state, and nonce.

RS256 tokens

Access and ID tokens signed with rotating RSA keys; JWKS published.

Tenant-aware

Client registry, scopes, consent, and session isolation.

Quickstart

  1. Sign in to my.signrix.com with your Signrix account.
  2. Redirect the browser to the authorization endpoint with PKCE.
  3. Exchange the returned code at /oauth2/token.
  4. Call /v1/me with the access token.
# 1) authorization
https://sess.my.id/oauth2/authorize
  ?response_type=code
  &client_id=YOUR_CLIENT_ID
  &redirect_uri=https%3A%2F%2Fyour.app%2Fauth%2Fcallback
  &scope=openid%20profile%20email
  &state=RANDOM
  &nonce=RANDOM
  &code_challenge=BASE64URL_SHA256_VERIFIER
  &code_challenge_method=S256

# 2) token exchange
curl https://sess.my.id/oauth2/token \
  -H "Content-Type: application/json" \
  -d '{"grant_type":"authorization_code","code":"...","client_id":"...","client_secret":"...","redirect_uri":"...","code_verifier":"..."}'

# 3) userinfo / API
curl https://api.signrix.com/v1/me -H "Authorization: Bearer ACCESS_TOKEN"

OpenID Connect

EndpointPurpose
GET /.well-known/openid-configurationDiscovery document
GET /.well-known/jwks.jsonPublic signing keys
GET /oauth2/authorizeAuthorization code + PKCE
POST /oauth2/tokenCode exchange
GET /userinfoBearer user claims
GET /oauth2/logoutRP-initiated logout

Discovery example

curl https://sess.my.id/.well-known/openid-configuration

Token claims

ClaimMeaning
isshttps://sess.my.id
subStable Signrix subject/account id
audOIDC client id
tenant_idSignrix tenant
scopeGranted scopes
sidSession id

Management API

Use a Bearer access token with the required scope. The current v1 surface is intentionally small and additive.

EndpointScopePurpose
GET /v1/healthpublicService health
GET /v1/meopenidCurrent identity/userinfo
GET /v1/clientssso.adminList OIDC clients
curl https://api.signrix.com/v1/me \
  -H "Authorization: Bearer ACCESS_TOKEN"
{
  "sub": "01a...",
  "email": "owner@signrix.com",
  "tenant_id": "01a...",
  "scope": "openid profile email"
}

Errors

{
  "error": {
    "code": "AUTH_REQUIRED",
    "message": "Bearer access token required"
  }
}
HTTPMeaning
400Invalid request/parameters
401Missing, expired, or invalid token/scope
404Unknown endpoint or resource
503Identity/gateway unavailable