Signrix API · v1
Identity infrastructure for
modern applications.
OpenID Connect, PKCE, scoped access tokens, tenant isolation, and a management API — documented for production.
Issuer
https://sess.my.idAPI
https://api.signrix.com/v1Overview
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
- Sign in to my.signrix.com with your Signrix account.
- Redirect the browser to the authorization endpoint with PKCE.
- Exchange the returned code at
/oauth2/token. - Call
/v1/mewith 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
| Endpoint | Purpose |
|---|---|
GET /.well-known/openid-configuration | Discovery document |
GET /.well-known/jwks.json | Public signing keys |
GET /oauth2/authorize | Authorization code + PKCE |
POST /oauth2/token | Code exchange |
GET /userinfo | Bearer user claims |
GET /oauth2/logout | RP-initiated logout |
Discovery example
curl https://sess.my.id/.well-known/openid-configurationToken claims
| Claim | Meaning |
|---|---|
iss | https://sess.my.id |
sub | Stable Signrix subject/account id |
aud | OIDC client id |
tenant_id | Signrix tenant |
scope | Granted scopes |
sid | Session id |
Management API
Use a Bearer access token with the required scope. The current v1 surface is intentionally small and additive.
| Endpoint | Scope | Purpose |
|---|---|---|
GET /v1/health | public | Service health |
GET /v1/me | openid | Current identity/userinfo |
GET /v1/clients | sso.admin | List 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"
}
}| HTTP | Meaning |
|---|---|
| 400 | Invalid request/parameters |
| 401 | Missing, expired, or invalid token/scope |
| 404 | Unknown endpoint or resource |
| 503 | Identity/gateway unavailable |