Currently, users lack the ability to log out once authorized. The only option available is to manually remove their cookie from the browser.
Details
Frontend
In the < LoggedUser /> component introduced in issue #10, a new option will be added within the Popover menu for signing out. Upon clicking this button, the page will refresh if the logout was successful, otherwise there will appear MudBlazor Snackbar with an error.
Backend & Database
A new API endpoint will be implemented to manage the removal of the user's cookie. Additionally, the user's credentials will be deleted from the database.
Logout Functionality
Proposal
Currently, users lack the ability to log out once authorized. The only option available is to manually remove their cookie from the browser.
Details
Frontend
In the < LoggedUser /> component introduced in issue #10, a new option will be added within the Popover menu for signing out. Upon clicking this button, the page will refresh if the logout was successful, otherwise there will appear MudBlazor Snackbar with an error.
Backend & Database
A new API endpoint will be implemented to manage the removal of the user's cookie. Additionally, the user's credentials will be deleted from the database.