feat(tools): implement OAuth2 helper with encrypted token storage (Phase 2 Slice 5b) - #14
Closed
SarkarShubhdeep wants to merge 2 commits into
Closed
feat(tools): implement OAuth2 helper with encrypted token storage (Phase 2 Slice 5b)#14SarkarShubhdeep wants to merge 2 commits into
SarkarShubhdeep wants to merge 2 commits into
Conversation
Break external integrations into approval/OAuth foundations, Drive and YouTube workstreams, and pin Time Huddle until API availability is confirmed. Co-authored-by: Cursor <cursoragent@cursor.com>
…rage (Phase 2 Slice 5b) - Add integrations/oauth.ts with createOAuthClient and TokenStore interface - Implement AES-GCM encryption for tokens using JERRY_OAUTH_ENCRYPTION_KEY - Add oauth_tokens migration for encrypted blob storage - Create memory and DB token store implementations - Add comprehensive OAuth flow tests with mock endpoints - Export via ./integrations/oauth package path Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
|
Will create combined PR after Slice 5 is completed |
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
integrations/oauth.tswith generic OAuth2 authorization-code flowJERRY_OAUTH_ENCRYPTION_KEYenv varTokenStoreinterface with memory and DB implementationsoauth_tokensmigration for encrypted blob storage@mieweb/jerry-tools/integrations/oauthpackage pathTest plan
createMemoryTokenStore(save/load/delete/isolation)createOAuthClient(auth URL, exchange, refresh, revoke)Phase 2 Slice 5b Checklist
Made with Cursor