Skip to content

add refresh metadata - #868

Open
SharonStrats wants to merge 2 commits into
stagingfrom
refresh-metadata
Open

add refresh metadata#868
SharonStrats wants to merge 2 commits into
stagingfrom
refresh-metadata

Conversation

@SharonStrats

Copy link
Copy Markdown
Contributor

This was missing from the restore session flow, it only happens on the login flow.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Wire the handler into shared authentication initialization so component-based restores are covered.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds authorization metadata refresh handling for restored authentication sessions.

Changes:

  • Registers a sessionRestore listener.
  • Flags authorization metadata after restoration.
File summaries
File Summary
src/login/login.ts Adds session restore metadata invalidation, but the listener is not wired into the component-based restore path.
Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/login/login.ts Outdated
Comment on lines +745 to +746
authSession.events.on('sessionRestore', () => {
solidLogicSingleton.store.updater.flagAuthorizationMetadata() as any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants