Skip to content

Add tasks and management command for scim sync #250

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

Merged
merged 1 commit into from
May 23, 2025
Merged

Conversation

rhysyngsun
Copy link
Collaborator

What are the relevant tickets?

Part of https://github.com/mitodl/hq/issues/7249

Description (What does it do?)

This adds scim push functionality

How can this be tested?

Tests should pass, functional testing of this can be done here: mitodl/mitxonline#2661

Copy link
Contributor

@cp-at-mit cp-at-mit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this create a loop when a client sends an API call to Keycloak to update an existing Keycloak account, and then Keycloak makes a SCIM request to the client to update the account that was just updated in Keycloak via the client's API request?

What system is used as the source of truth for user information once this is setup across many applications?

@rhysyngsun
Copy link
Collaborator Author

rhysyngsun commented May 15, 2025

@cp-at-mit I'm not going to handle that yet in this plugin which is why I made the methods for syncing an individual user private. For now I'm only addressing this as a one-time sync via the management command to backpopulate users into keycloak.

@rhysyngsun rhysyngsun force-pushed the nl/scim-push branch 6 times, most recently from a167e75 to 68c409b Compare May 21, 2025 15:22
@rhysyngsun rhysyngsun marked this pull request as ready for review May 21, 2025 15:39
@rhysyngsun rhysyngsun requested a review from cp-at-mit May 21, 2025 16:32
@rhysyngsun rhysyngsun merged commit b677fa1 into main May 23, 2025
11 checks passed
@rhysyngsun rhysyngsun deleted the nl/scim-push branch May 23, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants