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

User locked out if the Keycloak realm changed #1698

Open
patrickdung opened this issue Apr 11, 2020 · 0 comments
Open

User locked out if the Keycloak realm changed #1698

patrickdung opened this issue Apr 11, 2020 · 0 comments
Assignees
Labels
contrib-medium Medium dev difficulty for contribution enhancement

Comments

@patrickdung
Copy link

Describe the bug
Suppose the Keycloak is configured in Wikijs with realm called master. The setting is openid-connect.
This is a mis-configuration. Now we the Keycloak create a new realm for this and called the realm 'external'.

Currently in Wikijs. it does not allow users to be removed if they have created content. So I can't delete the user and relink it with the new realm.

The Keycloak connection setting in Wikijs is updated to the new realm. But the existing users could not login. It is because the uid/providerId of the users are different in the master and the external realm.
Host Info (please complete the following information):*
Wiki.js 2.2.51
Keycloak 9.0.2

Additional context
As a workaround, I update the providerId of the user in the database of Wiki.js. Now the user can login to the new realm.

Please provide a suitable way for this problem, like:
Allow relinking user to a new relam with different providerId or
Allow manually edit providerId in the admin web console or
Allow multiple users with same email address but different providerId to exist in the Wiki.js system or
any other suitable ways

@NGPixel NGPixel added contrib-medium Medium dev difficulty for contribution enhancement labels Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contrib-medium Medium dev difficulty for contribution enhancement
Projects
None yet
Development

No branches or pull requests

2 participants