Currently if not auth then the auth guard redirects to /login however the login page for an app may not always be in /login so we need to make it more configurable. Similarly, auth guard should be extensible to guards like requires_onboarding or something similar. And also we need to add roles to the auth_guard and make it easier to add auth guards to a page or sub-routes rather than having to decorate every endpoint.
Currently if not auth then the auth guard redirects to /login however the login page for an app may not always be in /login so we need to make it more configurable. Similarly, auth guard should be extensible to guards like requires_onboarding or something similar. And also we need to add roles to the auth_guard and make it easier to add auth guards to a page or sub-routes rather than having to decorate every endpoint.