Developer reference
API reference
Base URL https://www.sigilid.space.
Endpoints
| Purpose | Method | Path | Use |
|---|---|---|---|
| Discovery | GET | /.well-known/openid-configuration | Issuer metadata and keys URL |
| OAuth metadata | GET | /.well-known/oauth-authorization-server | The same issuer metadata at the RFC 8414 URL |
| Authorize | GET | /auth | Browser sign-in and consent |
| Token | POST | /token | Code exchange and refresh for approved grants |
| UserInfo | GET | /me | Bearer token with openid and granted claims |
| Signing keys | GET | /jwks | Public RSA verification keys |
| Revoke | POST | /token/revocation | Revoke a token for your client |
| Introspect | POST | /token/introspection | Check a token your authenticated client owns |
| Sign out | GET | /session/end | End the Sigil session and return to an approved URL |
| Shared Digital ID | GET | /api/v1/digital-ids/{id} | Active record and signed credential |
| Shared attestation | GET | /api/v1/attestations/{id} | Active published organization record |
Account scopes
| Scope | Claims or access | Meaning |
|---|---|---|
openid | sub | Required for account sign-in |
profile | name, preferred_username, updated_at | Display and profile information |
email | email, email_verified | Email is optional and unverified |
game_identity | rsi_handle, rsi_verification | Check for verified before treating the handle as verified |
digital_id | digital_id_url | Current share URL from UserInfo after consent, when an active ID exists |
offline_access | Refresh token | Requires separate consent and a refresh-enabled client |
Client policy
Registered sign-in clients use none or client_secret_basic. Discovery lists the issuer’s capabilities. Your app’s registration determines which it can use. A code can be exchanged once and expires after 60 seconds. Access tokens last five minutes and ID tokens last one hour.
Troubleshooting
- redirect_uri mismatch
- Use the registered HTTPS URL verbatim, including path, trailing slash, and query.
- invalid_grant
- Start again with a new code and verifier. If you are refreshing, check that your app kept the newest refresh token.
- invalid_client
- Check the approved client ID and token authentication. A replaced secret stops working immediately.
- access_denied
- Respect the user’s decision. Let them return to your app and try again when ready.
- 401 or missing claims
- Check token expiry, the granted scopes, and whether the account has supplied the claim. Compare the UserInfo subject to the validated ID token.