-
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
keycloak_user_federation: remove lastSync
param from kc API responses
#8812
keycloak_user_federation: remove lastSync
param from kc API responses
#8812
Conversation
7b4dd2e
to
1007345
Compare
This comment was marked as outdated.
This comment was marked as outdated.
1007345
to
5deecbf
Compare
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
Backport to stable-8: 💚 backport PR created✅ Backport PR branch: Backported as #8976 🤖 @patchback |
@fgruenbauer thanks for your contribution! |
Backport to stable-9: 💚 backport PR created✅ Backport PR branch: Backported as #8977 🤖 @patchback |
…ve `lastSync` param from kc API responses (#8976) keycloak_user_federation: remove `lastSync` param from kc API responses (#8812) * remove `lastSync` param from kc API responses * add blank line to satisfy sanity check * add changelog fragment * fix NoneType error introduced by changed normalize func return value (cherry picked from commit 5d9a7ab) Co-authored-by: fgruenbauer <gruenbauer@b1-systems.de>
…ve `lastSync` param from kc API responses (#8977) keycloak_user_federation: remove `lastSync` param from kc API responses (#8812) * remove `lastSync` param from kc API responses * add blank line to satisfy sanity check * add changelog fragment * fix NoneType error introduced by changed normalize func return value (cherry picked from commit 5d9a7ab) Co-authored-by: fgruenbauer <gruenbauer@b1-systems.de>
…es (ansible-collections#8812) * remove `lastSync` param from kc API responses * add blank line to satisfy sanity check * add changelog fragment * fix NoneType error introduced by changed normalize func return value
SUMMARY
Keycloak stores a timestamp of the last ldap sync in the parameter
lastSync
. Once the parameter is set after a sync (periodic or manual), the module always detects a change and shows a diff similar to the one below.The parameter seems to be used to time the periodic syncs, so i don't think changing it is good idea. The API does allow changing it though. But I did not find a way to view or change the parameter in the web GUI.
It looks like the parameter is only used by kc internally, so it should be safe to ignore it and remove it entirely from all API responses.
Fixes 5842
ISSUE TYPE
COMPONENT NAME
community.general.keycloak_user_federation