Add 'Unauthenticated' component
mooreds opened this issue · 0 comments
mooreds commented
Add 'Unauthenticated' component
We have an AuthRequired
component, but it is common to want to display things (the login button) only to unauthenticated users.
Solution
Add an inverse component that only executes when a user is not authenticated.
Alternatives/workarounds
use the isAuthenticated
function.
Additional context
Add any other context or screenshots about the feature request here.
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
How to vote
Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.