feat(ccip-sdk): OIDC authentication for Canton Ledger API - #368
Draft
SyedAsadKazmi wants to merge 1 commit into
Draft
feat(ccip-sdk): OIDC authentication for Canton Ledger API#368SyedAsadKazmi wants to merge 1 commit into
SyedAsadKazmi wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
SyedAsadKazmi
force-pushed
the
feat/canton-oidc-auth
branch
2 times, most recently
from
August 24, 2026 04:59
0df3bc0 to
5cc96b5
Compare
Coverage Report |
SyedAsadKazmi
force-pushed
the
feat/canton-oidc-auth
branch
from
August 25, 2026 02:53
5cc96b5 to
f1836b0
Compare
SyedAsadKazmi
force-pushed
the
feat/canton-oidc-auth
branch
from
August 25, 2026 03:06
f1836b0 to
0e72327
Compare
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.
Adds OAuth 2.0 / OIDC auth to
ccip-sdk, consumed byccip-cli.Key components (
ccip-sdk/src/canton/authentication/):oauth4webapifor OAuth2 protocol mechanics (discovery, PKCE, grants, token validation)CachingTokenSourcewith concurrent fetch coalescingcreateAuthProvider()discriminated union selectorresolveCantonJwtFromConfig()— resolves JWT fromconfig.jwtorconfig.authmergeAuthEnvVars()—CANTON_CLIENT_ID/CANTON_CLIENT_SECRETenv var resolution (secrets out of config files)CANTON_AUTH_ERRORerror code + recovery hintCLI changes:
loadCantonConfigacceptsauth;jwtoptional whenauthpresentPromise.allSettledresults inspected to surfaceCCIPErrorinstead of genericRPC_NOT_FOUND