Sigil

Developer reference

API reference

Base URL https://www.sigilid.space.

Endpoints

PurposeMethodPathUse
DiscoveryGET/.well-known/openid-configurationIssuer metadata and keys URL
OAuth metadataGET/.well-known/oauth-authorization-serverThe same issuer metadata at the RFC 8414 URL
AuthorizeGET/authBrowser sign-in and consent
TokenPOST/tokenCode exchange and refresh for approved grants
UserInfoGET/meBearer token with openid and granted claims
Signing keysGET/jwksPublic RSA verification keys
RevokePOST/token/revocationRevoke a token for your client
IntrospectPOST/token/introspectionCheck a token your authenticated client owns
Sign outGET/session/endEnd the Sigil session and return to an approved URL
Shared Digital IDGET/api/v1/digital-ids/{id}Active record and signed credential
Shared attestationGET/api/v1/attestations/{id}Active published organization record

Account scopes

ScopeClaims or accessMeaning
openidsubRequired for account sign-in
profilename, preferred_username, updated_atDisplay and profile information
emailemail, email_verifiedEmail is optional and unverified
game_identityrsi_handle, rsi_verificationCheck for verified before treating the handle as verified
digital_iddigital_id_urlCurrent share URL from UserInfo after consent, when an active ID exists
offline_accessRefresh tokenRequires 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.