Skip to content

Improve auth_guard #7

Description

@ashesh808

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions