A custom element for managing login, logout, user-info UX.
This component usually renders as a simple menu-button with different menu-items for different actions depending on its state.
Aunonimous
state - the user either does not have an active authenticated session with the api, or it has a limited session as an anonymous user - offers the following actions:Login
Authenticated
state - the user has logged into the backend, and has an active authenticated session with the api - offers the following actions by default, but may be configured to add addtional actions:Logout
Here is the lw-auth-ui custom element