Skip to main content
Configure the Bijection deployment to verify tokens from Auth0. Set the issuer and audience for the application token in bijection/sign-in.ts. OIDC providers describes the configuration fields. Use Auth0’s client library to sign in and obtain the application token. The SDK ships no Auth0 adapter, so give the client a ClientAuth that reads it:
In a server request, create a client with that user’s token: connect(url, { contract: "discover", token }). For access to protected application data, give the verified subject the roles your app requires. Use the verified principal, ctx.frame.as, for attribution.