We have been playing around with the idea of the login/logout on the front end. Plus taking it a step further with apps that need and admin/user sections and so on.
We just put together a custom Drupal module to handle login/logout/register and user info. Then we added Nuxt Auth by sidebase to help deal with the authentication. It works really well. It might be overkill, however it does give you plenty of flexibility for whatever project you are working on.
I feel this is a better approach for permissions, roles, etc.
We have been playing around with the idea of the login/logout on the front end. Plus taking it a step further with apps that need and admin/user sections and so on.
We just put together a custom Drupal module to handle login/logout/register and user info. Then we added Nuxt Auth by sidebase to help deal with the authentication. It works really well. It might be overkill, however it does give you plenty of flexibility for whatever project you are working on.
I feel this is a better approach for permissions, roles, etc.