Relying party
Integrate your web application as an OIDC relying party against SenseCrypt using any conformant OIDC client library — no SenseCrypt-specific SDK required.
Your application integrates with SenseCrypt as a standard OIDC relying party (RP) — or, for enterprise SSO, a SAML service provider. Because SenseCrypt speaks conformant OIDC and SAML, you do not need a SenseCrypt-specific SDK: any well-maintained OIDC/SAML client library for your stack works.
The approach
Point your existing OIDC client at the tenant's issuer and let it discover the endpoints:
- Configure the library with the issuer URL
https://<your-tenant>.<domain>and yourclient_id(plus aclient_secretfor confidential apps; SPAs use PKCE). - Let the library read
{issuer}/.well-known/openid-configurationfor theauthorization_endpoint,token_endpoint,userinfo_endpoint, andjwks_uri. - Use the Authorization Code flow with PKCE (
S256). Most modern OIDC libraries do PKCE by default. - Validate the ID token against the tenant's JWKS (ES256), checking
iss,aud, andexp.
The on-device face ceremony is entirely handled by SenseCrypt and the Authenticator app — your RP code just performs the normal redirect and token exchange.
Library compatibility checklist
When choosing or configuring a library, make sure it:
- supports the Authorization Code flow with PKCE
S256(required), - discovers endpoints from the OpenID configuration (don't hard-code),
- verifies ES256 ID token signatures via JWKS and selects keys by
kid(SenseCrypt may publish multiple keys during a rotation), - lets you pass
login_hint(SenseCrypt pre-fills the email-entry page from it), and - if you need refresh tokens, requests the
offline_accessscope.
Worked example
The Add Login (OIDC) quickstart walks through the exact requests — discovery, the authorize redirect, the code exchange, ID-token validation, and userinfo — using plain HTTP so you can map them onto whatever library you use.
Related
- Add Login (OIDC) — the step-by-step quickstart.
- OIDC & OAuth 2.0 — flows, client types, and endpoints.
- Tokens & sessions — validating and using the tokens.
Mobile (Authenticator)
The SenseCrypt Authenticator app for iOS and Android — the end-user app that approves sign-ins with a face scan. Integrators do not embed it.
Reference
Reference material for SenseCrypt — the error-code taxonomy, the rate-limit policy, token validation, CORS, a glossary, and a troubleshooting guide.