Repository navigation
feat: authenticate Codex plugin with OAuth DCR and PKCE - #71
Open
ishaanxgupta wants to merge 6 commits into
Open
ishaanxgupta wants to merge 6 commits into
ishaanxgupta wants to merge 6 commits into
Conversation
Prasanna721
reviewed
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace the Codex plugin's browser API-key bootstrap with the same DCR/OAuth flow as the Claude plugin in supermemoryai/claude-supermemory#121.
Supermemory for Codex, and reuse its client ID across logins. The repository URI identifies Codex on the Console consent screen from https://github.com/supermemoryai/mono/pull/3087; that PR also attributes API requests to verified OAuth client/session IDs.codex-supermemory loginandlogout. Explicit login migrates saved API-key credentials; logout revokes the refresh token and pauses automatic browser login. Status shows authentication type/client ID without exposing OAuth tokens.Supermemory CLI
login --print-urlprints the authorize link (SUPERMEMORY_AUTHORIZE_URL=…) instead of opening a browser and keeps waiting for the callback.npx supermemory pluginuses it to sign in every selected plugin on one consent screen (https://github.com/supermemoryai/mono/pull/3636, https://github.com/supermemoryai/mono/pull/3637). Verified with all four plugins in one batch against a PR preview.