Skip to content

Conversation

@lucasmerlin
Copy link
Member

What

This adds a way to add a callback to re_auth whenever auth state changes and uses that to add a AuthContext to the GlobalContext that is set when the user is logged in

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Web viewer built successfully.

Result Commit Link Manifest
cdd542e https://rerun.io/viewer/pr/12058 +nightly +main

View image diff on kitdiff.

Note: This comment is updated whenever you push a commit.

@lucasmerlin lucasmerlin requested a review from jprochazk December 2, 2025 17:06
@lucasmerlin lucasmerlin added exclude from changelog PRs with this won't show up in CHANGELOG.md dataplatform Rerun Data Platform integration labels Dec 2, 2025
Comment on lines +65 to +66
// TODO: Is login hint required?
match LoginFlow::open(ui, None) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure how this should be handled. I assume the login hint will prefill the email in the browser is set? But now we should only have a email if the user is logged in, so this feels kind of useless. Did this do something before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dataplatform Rerun Data Platform integration exclude from changelog PRs with this won't show up in CHANGELOG.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants