Skip to content

feat(context): add LoginRequired reason for silent SSO failure detection#53

Open
loispostula wants to merge 1 commit intoctron:mainfrom
fslabs:main
Open

feat(context): add LoginRequired reason for silent SSO failure detection#53
loispostula wants to merge 1 commit intoctron:mainfrom
fslabs:main

Conversation

@loispostula
Copy link
Copy Markdown
Contributor

No description provided.

@ctron
Copy link
Copy Markdown
Owner

ctron commented Feb 2, 2026

Thanks for the PR. I'm trying to understand the motivation behind the change.

If this error is being reported, the user should be (gracefully) told to login. Is that correct?

And the idea is to treat that state as "not authenticated", adding a specific reason (in cases where this would help the application)? Right?

@loispostula
Copy link
Copy Markdown
Contributor Author

That's correct, my use case with this, is that i perform a silent login, (prompt=none) and then i can, with this error state either do a signup or a signin fork

Copy link
Copy Markdown
Owner

@ctron ctron left a comment

Choose a reason for hiding this comment

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

LGTM. Although this is a breaking change. Which is fine.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants