Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SSO (or whole) authentication using a Full-stack Signal #2985

Open
cromoteca opened this issue Dec 10, 2024 · 1 comment
Open

Implement SSO (or whole) authentication using a Full-stack Signal #2985

cromoteca opened this issue Dec 10, 2024 · 1 comment
Labels
enhancement New feature or request hilla Issues related to Hilla

Comments

@cromoteca
Copy link
Contributor

cromoteca commented Dec 10, 2024

Describe your motivation

SSO is handled by Spring and providers can send back-channel logout messages. This has been handled using Push in Hilla in the past. I see that as a perfect candidate for a type-safe full-stack signal which holds nullable user information.

Clients can then subscribe to that signal to know when a user is logged in or out of the session, and in case get the user information as signal value.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

This should also concern Flow, once full-stack signals will support both Flow and Hilla.

@cromoteca cromoteca added enhancement New feature or request hilla Issues related to Hilla labels Dec 10, 2024
@platosha
Copy link
Contributor

Let's work on this after the full-stack signals are available for both Flow and Hilla, so that it could be achieved in a uniform way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hilla Issues related to Hilla
Projects
None yet
Development

No branches or pull requests

2 participants