Skip to main content

Mint a user token for a subject you authenticated

POST 

/auth/delegated-token

Machine token. Called by your backend, using your client_credentials token.

Your backend has already established who the person is; this turns that into a wallet user token you can hand to your app.

Call it with your machine token, naming the person by the externalUserRef you registered them under. What comes back is an ordinary user token, scoped to that person — every /me/* operation will resolve to them and nothing else.

The token records how it was obtained: amr: ["tenant_delegated"], plus an act claim naming your client. Months later, a disputed transaction can still be told apart from one where we verified the person ourselves.

No refresh token is issued. A refresh would let the session outlive your ability to re-assert the person, which is authority you have not given us. Mint a new one instead — it is a single call and your backend already holds the credential.

Request

Responses

OK