Start with the quickstart for your SDK first: TypeScript, React Native, Swift, or Kotlin.Kotlin snippets call
suspend SDK APIs; run them from a coroutine.1. Send the OMS Wallet ID token to your backend
After the user authenticates in the app, request an ID token for the active wallet and pass it to your app’s backend client. That client sends the token to your backend over HTTPS.- TypeScript
- React Native
- Swift
- Kotlin
2. Verify the token signature and claims
Fetch keys from the accepted issuer’s JWKS endpoint, and use a JWT library to verify the token. The library should select the signing key from the JWT headerkid.
The JWKS endpoint is:
Install
jose in the backend project that verifies the token:
Node.js
3. Use the wallet claims
After verification succeeds, use only the OMS Wallet identity claims required for the current request. Treat custom claims as client-provided context unless your backend controls their values.Express