Skip to content

feat: Add another parameter in OAuthLoginManager to seperate between redirecting routes for login and logout #451

@saltensity

Description

@saltensity

The current OAuthLoginManager takes in a "default_endpoint" parameter at the current moment, which is used to redirect users who have logged in AND logged out simultaneously. This might cause problems if I wanted users to go to a dashboard page when signed in, and landing page when signed out.

Task

  • Refactor OAuthLoginManager such that:
    • It accepts TWO, rather than ONE parameter, one for the endpoint to redirect after login and one to redirect after logout
    • Refactor the blueprint to redirect via these parameters

Files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions