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

Logout is not working when password login is disabled #1322

Open
ZingLix opened this issue Feb 17, 2025 · 0 comments
Open

Logout is not working when password login is disabled #1322

ZingLix opened this issue Feb 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ZingLix
Copy link

ZingLix commented Feb 17, 2025

Describe the bug

When I try to log out, the page refreshes, but I remain logged in.

To Reproduce

  1. Set SOCIAL_AUTH_PROVIDERS to oidc only
  2. Set PASSWORD_LOGIN_DISABLED to true
  3. Click Logout in the menu at the left corner.

Expected behavior

I'm logged out

Screenshots
/

Client (please complete the following information):

  • OS: MacOS
  • Browser: chrome
  • Version: 133

Platform (Please tell us which deployment version you are using)
docker 1.6.0-build.761-amd64

Additional context

When password login is disabled, the homepage does not appear; instead, it directly redirects to the OIDC login page. I'm unsure if this is the intended behavior or a bug, but having an option to control this behavior would be beneficial.

Additionally, after clicking Logout, the system first redirects to the homepage but then immediately sends the user to the OIDC login page due to the behavior mentioned above. Since I'm still logged in to the OIDC provider, I'm automatically logged back into Teable, making the Logout button ineffective. It might be better to redirect users to the OIDC provider's logout page instead or go to the homepage.

@boris-w boris-w added the enhancement New feature or request label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants