Offboarding: which SaaS providers truly revoke
When the identity provider deactivates someone (SCIM), Ambit revokes each of their stored app grants at the
provider and keeps a record of the provider's answer. By default it sends a standard RFC 7009 revocation
request: POST <revocationURL> with the form fields token and token_type_hint, and the app's client ID and
secret as HTTP Basic authentication. Where an app has no revocation URL, Ambit only deletes its own copy of the
grant; a token the provider already issued keeps working until it expires.
Some providers use their own format. Ambit picks it from the revocation URL you enter for the app:
| Revocation URL to enter | Format Ambit sends |
|---|---|
https://api.github.com/applications/{client_id}/grant (GitHub Enterprise Server: https://<host>/api/v3/applications/{client_id}/grant) | GitHub: DELETE, app credentials, {"access_token": ...}; removes the whole grant |
https://slack.com/api/auth.revoke | Slack: the user's token revokes itself; Ambit reads "ok" in the answer |
https://api.notion.com/v1/oauth/revoke | Notion: app credentials, {"token": ...}, header Notion-Version: 2026-03-11 |
https://api.hubapi.com/oauth/v1/refresh-tokens | HubSpot: DELETE .../refresh-tokens/<refresh token> |
| anything else | standard RFC 7009 |
For GitHub, Slack and Notion, which take the access token, Ambit first renews an expired token. These formats come from each provider's documentation (checked 2026-10-01) and are not tested against the real providers, which needs an account with each. Each provider's endpoint:
| Provider | Revocation endpoint | Works with a standard (RFC 7009) request? | Tokens already issued | What is removed |
|---|---|---|---|---|
| Google (Workspace) | POST https://oauth2.googleapis.com/revoke | Yes (likely: client authentication is not required, so Ambit's is extra) | Revoked at once, including the paired token | The whole grant |
| Salesforce | POST https://<MyDomain>.my.salesforce.com/services/oauth2/revoke | Yes (likely: same reason) | Revoking a refresh token revokes its access tokens | The token(s) |
| Linear | POST https://api.linear.app/oauth/revoke | Probably (client authentication not documented) | Access tokens expire after 24 hours | As requested |
| Zoom | POST https://zoom.us/oauth/revoke | Probably (token_type_hint support not documented) | Access tokens expire after 1 hour | Not documented |
| GitHub (OAuth App, GitHub App user tokens) | DELETE https://api.github.com/applications/{client_id}/grant | No: needs DELETE with a JSON body {"access_token": ...} | Removed with the grant | The whole grant (or one token with /token) |
| Slack | GET or POST https://slack.com/api/auth.revoke | No: the token itself as bearer | Revoked at once | The token only |
| Notion | POST https://api.notion.com/v1/oauth/revoke | No: JSON body and a Notion-Version header | Revoked at once | The token only |
| HubSpot | DELETE https://api.hubapi.com/oauth/v1/refresh-tokens/{token} | No: DELETE with the token in the path | Access tokens stay valid up to 30 minutes | The refresh token only |
| Microsoft 365 / Entra ID (Graph) | none | No endpoint. Only admin actions: revokeSignInSessions (all of the user's apps) or deleting the app's consent grant | Stay valid until they expire (about 1 hour) | — |
| Atlassian (Jira, Confluence Cloud) | none | No endpoint. Only the user can remove the app, in their account settings | Stay valid until they expire | — |
Apps added from a preset show the same answer on the "Set up" screen, and the table of presets in presets.md has a "Revokes at vendor" column with one value per preset.
What this means today
- Ambit revokes at the provider for Google and Salesforce, very likely for Linear and Zoom (standard format), and for GitHub, Slack and Notion (their own formats).
- For HubSpot, Ambit revokes the refresh token; the access token already issued works for up to 30 minutes more. HubSpot offers no way to end it sooner.
- For Microsoft and Atlassian, no API can revoke a user's grant to a third-party app; deleting Ambit's copy is all that is possible, and existing access tokens expire on their own (about an hour).
Sources: Google, Salesforce, Linear, Zoom, GitHub, Slack, Notion, HubSpot, Microsoft revokeSignInSessions, Microsoft oauth2PermissionGrant delete, Atlassian.
Prove it to an auditor: the offboarding export
Settings → Evidence → Offboarding exports the offboarding records of a period as one ZIP file (admins only; see Evidence exports). offboarding.csv has one row per record, with three columns from the audit store:
last_accepted_call_before: the person's last accepted call before the offboarding.accepted_calls_after: the person's calls from 5 seconds after the offboarding until the export that the gateway accepted, meaning any status except 401 and 403. It should be 0. The offboarding block is a gateway rule that answers 403, so any other status (a 404 for an unknown model, a 429 for a budget, a 502 when the provider is down) means the gateway accepted the person's credential and is an exception to look at. The 5 seconds cover calls already in flight; revocation takes about 350 ms (median). Counting this wide can only over-report, never hide a call.first_refused_call_after: the first 401 or 403 after the offboarding. It shows the block worked when the person, or a tool with their key, tried again. It is empty when nobody tried.
calls-after.csv lists each call counted in accepted_calls_after; an empty file is the good result. grants-revoked.csv has one row per app grant, with the vendor's answer, and key-events.csv the key history of the period (offboarding, revocations, and service account keys whose end date was lowered because the admin who issued them left).
The three audit columns need evidence.enabled and are limited by the audit retention; the key history is kept 400 days. The manifest gives each source's available period.