-
Notifications
You must be signed in to change notification settings - Fork 222
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
[Bug]: OAuth: User cannot log in through different orgs #1284
Labels
Java Backend
Pull requests that update Java code
Comments
Question... Do you mean Lowcoder Orgs or KeyCloak Orgs (realms)? |
@jnewman-eti |
After this PR is being merged, of course |
This issue has been fixed in V2.5.1. So, closing out this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Current Behavior
When a user logs into lowcoder through oauth provider into one org, logs out, and logs into a different org, this causes an error.
It seems the connection data stored in the db is not handled in a way that facilitates a user to log into different orgs.
Our setup: Keycloak with multiple orgs. Users can exist on both orgs.
Lowcoder Generic Oauth Provider.
Expected Behavior
If a user logs out, and logs back in through a different org, the system should be able to handle this case without causing an error.
Steps to reproduce
Have a multitenant setup in your IDP.
Register the same user in 2 orgs. Same name, email, etc.
Set up the Generic Oauth provider to authenticate through keycloak.
Log into lowcoder using org 1.
Log out of org 1.
Log into org 2.
This should cause an error.
Environment
Lowcoder version 2.4.x
Keycloak IDP
Additional Information
No response
The text was updated successfully, but these errors were encountered: