You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(auth): OAuth token revocation — POST /auth/v1/oauth/revoke (RFC 7009) #73
The client can obtain tokens (device flow via auth.oauth, client_credentials/refresh_token via auth.token()) but cannot revoke them. campus-cli still raw-calls the revoke endpoint (campus_cli/auth/common.py builds /oauth/revoke); the rest of its device flow moved in-library with #70.
Server surface (campus weekly, campus/auth/routes/oauth.py)
POST /auth/v1/oauth/revoke — body: token (required), client_id (required), token_type_hint (optional)
Returns 200 {} per RFC 7009 regardless of whether the token was active
Suggested client shape
auth.oauth.revoke(token, client_id, token_type_hint=None) on the existing OAuth resource (paths under /auth/v1/oauth/... since PR #70).
Activity
feat(auth): add OAuth token revocation (RFC 7009)