Skip to content

feat(auth): support OAuth device authorization - #4962

Open
huanghongbo-hhb wants to merge 3 commits into
koderover:mainfrom
huanghongbo-hhb:feat/oauth-device-authorization
Open

feat(auth): support OAuth device authorization#4962
huanghongbo-hhb wants to merge 3 commits into
koderover:mainfrom
huanghongbo-hhb:feat/oauth-device-authorization

Conversation

@huanghongbo-hhb

@huanghongbo-hhb huanghongbo-hhb commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add OAuth Device Authorization for Zadig CLI.

Main Changes

  • Add device authorization, token exchange/refresh, and revocation endpoints.
  • Issue short-lived CLI access tokens backed by revocable Redis sessions.
  • Revoke sessions on password, MFA, and user deletion security changes.
  • Keep OAuth credentials out of ext-authz request logs.

Compatibility

  • Existing Web and API Tokens are unchanged; only cli_access tokens use OAuth session validation.

Test


This change is Reviewable

Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant