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
Static OAuth client loses its SEP-2352 issuer stamp across SDK saves and restarts #2751
For a static (preregistered) OAuth client, the SEP-2352 issuer stamp doesn't survive SDK saves and CLI restarts, so the issuer binding is missing and the SDK warns again on every run.
In core/auth/providers.ts:
clientInformation() returns the preregistered slot first (issuer-independent).
The SDK's back-stamp after discovery goes through saveClientInformation() with { issuer } only. That routes through resolveSdkRegistrationKind into the per-issuer dynamic slot, which the preregistered read never looks at.
Re-seeding the static client at init then drops whatever was stamped.
The effect: the binding falls back to the SDK's unbound legacy behaviour, and the warning repeats on every restart. Reported against 2.11.0.
Expected
Once the SDK has stamped the issuer for a preregistered client, the stamp persists with that client and is returned on the next read. Re-seeding the same static client at startup keeps an existing stamp unless the client itself changed.
Notes
Cover it with a test: save a preregistered client, SDK back-stamp with { issuer }, re-init with the same static config, then assert the issuer is present and no warning fires.
Hi, I'd like to work on this. My plan is to trace how preregistered OAuth client information is saved and restored, then add a regression test for the SDK issuer stamp surviving a save and restart (including re-seeding the same static client) before making the smallest fix.
I completed a local prototype, but I’m following the repository’s contribution policy and will not open a source PR. Here is the implementation prompt for a maintainer to take forward:
Preserve the issuer binding for a preregistered OAuth client when SDK saves and reinitializes client information. Add regression coverage for persistence across save/restart and SDK issuer stamping, while preserving behavior when the configured client changes or authorization-server discovery resolves a different issuer. Keep the fix focused and verify with the OAuth provider and issuer-migration tests.
The focused provider suite passed (58 tests), the targeted issuer-migration integration test passed, and the web TypeScript build passed. The full npm run local:gate was not rerun after the final integration fix, so I’m not claiming a full-gate pass. No screenshots apply to this core OAuth change.
Would an Inspector maintainer be willing to take this forward as an official PR? Once there is a public PR URL, I can submit that URL to HackAaroh.
Activity
rajnish-verma-22172 commentedon Oct 21, 2026
Hi, I'd like to work on this. My plan is to trace how preregistered OAuth client information is saved and restored, then add a regression test for the SDK issuer stamp surviving a save and restart (including re-seeding the same static client) before making the smallest fix.
rajnish-verma-22172 commentedon Oct 21, 2026
I completed a local prototype, but I’m following the repository’s contribution policy and will not open a source PR. Here is the implementation prompt for a maintainer to take forward:
The focused provider suite passed (58 tests), the targeted issuer-migration integration test passed, and the web TypeScript build passed. The full
npm run local:gatewas not rerun after the final integration fix, so I’m not claiming a full-gate pass. No screenshots apply to this core OAuth change.Would an Inspector maintainer be willing to take this forward as an official PR? Once there is a public PR URL, I can submit that URL to HackAaroh.
test(auth): reload the persisted store between runs in the restart re…
cliffhall commentedon Oct 25, 2026
Fixed by #2794 (merged to
v2/mainin 5157cdb).