Sign-out and device-key sign-in for your Login with WorkPair client
Get told when people sign out (back-channel logout), send them to WorkPair’s sign-out page, and require their device key or passkey for every sign-in.
- Who it’s for
- Owners and admins of a verifier workspace with a Login with WorkPair client.
- What you need first
- A Login with WorkPair client (see Add Login with WorkPair)
- Owner or admin role, signed in with your device key or passkey
- Time needed
- 10 minutes
Back-channel logout
Open the Login with WorkPair tab. For a new client, fill in Back-channel logout URI (optional) before Register client; for an existing one, select Logout URI next to it.
Enter an https address on your server, for example
https://app.example.com/backchannel-logout. By API:backchannelLogoutUrionPOSTorPUT /v1/oidc/clients;nullremoves it.WorkPair POSTs
logout_token=<signed JWT>there when a person signs out of your application from WorkPair, signs out of WorkPair and every app, locks their WorkPair ID, or deletes it. Verify it and end their session (see Receive back-channel logout tokens).
Require the device key or passkey
Tick Require device key or passkey on a new client, or next to an existing one.
From then on every sign-in is held for the person to approve with their device key or passkey (AAL2). It’s never answered automatically and never approved from an email-code sign-in. The ID token’s
acrisurn:workpair:acr:aal2.By API:
"requireAal2": trueonPOSTorPUT /v1/oidc/clients. An API key can turn it on but not off: turning it off needs an owner or admin signed in with their device key or passkey (or WorkPair staff). Every change is recorded.
What happens next
- Register
postLogoutRedirectUristo send people to WorkPair’s sign-out page withGET /oidc/logoutand bring them back afterwards. - Deliveries are listed at
GET /v1/oidc/clients/{clientId}/logout-deliveries(status, attempts, last error; never who it was about).
Common problems and fixes
person_requiredwhen turning off Require device key or passkey.- Use the workspace page signed in as an owner or admin with your device key or passkey, not an API key.
- Logout deliveries fail with “non-public address”.
- The URI must resolve to a public address over https. Private, loopback and metadata addresses are refused.
Still stuck? Write to support@workpair.io and say which guide and step you were on. WorkPair will never ask for your passphrase, a code or an API key.