#365
Support Slack auth.revoke
- Add
auth.revoke, which revokes the calling token, from the Authorization header or thetokenPOST field, so later Web API calls returninvalid_auth, withtest=truechecking without revoking. - Keep
token_revokedfor apps removed byapps.uninstall, including inauth.revokeitself, with regression coverage, the coverage matrix entry, and docs.
References:
auth.revokeresponse{ "ok": true, "revoked": true }, thetestargument, the token in the header or as a POST parameter: https://docs.slack.dev/reference/methods/auth.revokeinvalid_auth"Method was called with invalid credentials", andtoken_revokedfor a deleted user or workspace or a removed app: https://docs.slack.dev/reference/methods/auth.test
Covers the auth.revoke part of #327.
Activity
6vercel[bot]reviewed2d ago
vercel[bot]reviewed2d ago
@jychp is attempting to deploy a commit to the Vercel Labs Team on Vercel.
A member of the Team first needs to authorize it.