Improve connector reload authentication UX#2370
Open
alexyaang wants to merge 1 commit into
Open
Conversation
Keep Azure tokens in memory and preserve linked namespace context across extension reloads. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Moves Azure authentication to process memory while preserving namespace selection across reloads.
Changes:
- Removes persistent Azure credential caching.
- Adds linked-namespace sign-in and catalog return flow.
- Updates regression tests and documentation.
Show a summary per file
| File | Description |
|---|---|
extensions/connector-namespaces/auth.mjs |
Uses in-memory credentials and removes legacy artifacts. |
extensions/connector-namespaces/auth.test.mjs |
Tests in-memory authentication behavior. |
extensions/connector-namespaces/package.json |
Removes the persistence dependency. |
extensions/connector-namespaces/renderer.mjs |
Adds focused linked-namespace sign-in UI. |
extensions/connector-namespaces/renderer.test.mjs |
Covers rendering, redirects, and escaping. |
extensions/connector-namespaces/server.mjs |
Passes saved namespace context to the renderer. |
extensions/connector-namespaces/server.test.mjs |
Verifies reload sign-in messaging. |
extensions/connector-namespaces/review-fixes.test.mjs |
Guards against persistent-cache usage. |
extensions/connector-namespaces/README.md |
Documents process-memory authentication. |
extensions/connector-namespaces/test/README.md |
Updates smoke-test prerequisites. |
Review details
- Files reviewed: 10/10 changed files
- Comments generated: 0
- Review effort level: Medium
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
Validation