Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a user, I should not be able to login when I already have an active session #447

Open
3 tasks done
TangoYankee opened this issue Apr 2, 2022 · 0 comments
Open
3 tasks done
Labels
component: backend issue type: bug Something isn't working risk: low status: ready to work on Prioritized and ready for a contributor to move to "In Progress"

Comments

@TangoYankee
Copy link
Member

Describe the bug
Users can technically access the auth/login path when already logged in. This will replace their current credentials with new ones. These means the previous credentials will be lost and the associated session cannot be logged out.

To Reproduce
Steps to reproduce the behavior:

  1. Go to ''/auth/login" path when already logged in
  2. Go through the sign in process

Expected behavior
Going to the log screen when already logged in will redirect to another page, such as the about page.

Labels

  • Add a status label
    • needs definition
    • needs help
    • ready to work on
    • in progress
    • backlog
  • Add a bug label
  • Add additional labels as needed

Affected Components (For Developers)
Login component

Technical Resources (For Developers)
Should be able to access authToken context, and redirect when there is already a token present

@TangoYankee TangoYankee added issue type: bug Something isn't working status: ready to work on Prioritized and ready for a contributor to move to "In Progress" risk: low labels Apr 2, 2022
@theecrit theecrit added this to Backlog in P2b: Account Management and Server Config via automation May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: backend issue type: bug Something isn't working risk: low status: ready to work on Prioritized and ready for a contributor to move to "In Progress"
Development

No branches or pull requests

2 participants