mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-06 17:07:46 +00:00
3554b2eb53
Move user provisioning logic out of the external token viewset into a dedicated service to keep the viewset lightweight and easier to maintain. While extracting the logic, refactor user object handling to improve robustness and make the provisioning workflow easier to reason about. Defend against race conditions when concurrent requests attempt to provision the same user. Rely on the existing database constraints to guarantee uniqueness and gracefully handle integrity errors raised by concurrent creations.