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

Provide a way to redirect when not logged in #6

Closed
ctron opened this issue Oct 6, 2022 · 0 comments
Closed

Provide a way to redirect when not logged in #6

ctron opened this issue Oct 6, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ctron
Copy link
Owner

ctron commented Oct 6, 2022

Currently there is a Redirect component, which redirects when the session becomes unauthenticated.

Maybe the name is bad, but even I just thought it would work differently.

That functionality is still relevant, but there should also be some functionality, which either renders its content (children) or starts a new login if it would render its children.

An alternative solution would be, to add a new property to the Authenticated component, which would mean "login otherwise".

@ctron ctron added enhancement New feature or request help wanted Extra attention is needed labels Oct 6, 2022
@ctron ctron self-assigned this Oct 7, 2022
@ctron ctron removed the help wanted Extra attention is needed label Oct 7, 2022
@ctron ctron closed this as completed in cad5f47 Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant