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

Fixed using multiple auth methods clashing and automatically kicking out users. #1316

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Jaluus
Copy link

@Jaluus Jaluus commented Sep 5, 2024

Fixed Password Auth

What was the problem?

When using password auth and header based auth at the same time the frontend called the header auth regardless, even if a user was already authenticated kicking the user out.

What changed

Moved the check if a user is authenticated in front of the header auth call.
If a user is authenticated by the password auth, the header based auth or an existing JWT the app will now not purge the JWT and thus kick out any user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants