-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
bugfixing keycloak user federation failing when updating default mapper simultaneously #5750
bugfixing keycloak user federation failing when updating default mapper simultaneously #5750
Conversation
... user federation creation failing when also updating/changing default mappers at the same time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from the Ansible perspective, not very familiar with keycloak myself.
Same from my POV. If nobody objects in the next two weeks, I'll merge this. |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #5875 🤖 @patchback |
…er simultaneously (#5750) * fix(modules/keycloak_user_federation): fixes ... ... user federation creation failing when also updating/changing default mappers at the same time * add changelog fragment for pr Co-authored-by: Mirko Wilhelmi <[email protected]> (cherry picked from commit 6781dd1)
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #5876 🤖 @patchback |
…er simultaneously (#5750) * fix(modules/keycloak_user_federation): fixes ... ... user federation creation failing when also updating/changing default mappers at the same time * add changelog fragment for pr Co-authored-by: Mirko Wilhelmi <[email protected]> (cherry picked from commit 6781dd1)
…tion failing when updating default mapper simultaneously (#5875) bugfixing keycloak user federation failing when updating default mapper simultaneously (#5750) * fix(modules/keycloak_user_federation): fixes ... ... user federation creation failing when also updating/changing default mappers at the same time * add changelog fragment for pr Co-authored-by: Mirko Wilhelmi <[email protected]> (cherry picked from commit 6781dd1) Co-authored-by: morco <[email protected]>
…tion failing when updating default mapper simultaneously (#5876) bugfixing keycloak user federation failing when updating default mapper simultaneously (#5750) * fix(modules/keycloak_user_federation): fixes ... ... user federation creation failing when also updating/changing default mappers at the same time * add changelog fragment for pr Co-authored-by: Mirko Wilhelmi <[email protected]> (cherry picked from commit 6781dd1) Co-authored-by: morco <[email protected]>
SUMMARY
Current implementation of
keycloak_user_federation
module fails to create a new user federation when also simultaneously updating / changing a default / standard created mapper likeusername
.The cause of this as can be seen in the diffs is simply a variable set to
None
on default forgotten to be updated to proper id value.It seems there are currently no open issues matching this bug or at least I failed to find them.
ISSUE TYPE
COMPONENT NAME
plugins/modules/keycloak_user_federation.py
ADDITIONAL INFORMATION
Tested with recent keycloak (api) version:
20.0.2
.