I understand that it’s currently not possible to set OrgId of new users based on OAuth attributes (SSO and how to set OrgID and Roles). I’m interested in having a go at implementing this functionality, as it’s important for us. I poked around the code a little bit and at first glance it doesn’t look too fiendish an undertaking (basically just making sure the right attribute is passed on to the user creation function?), but maybe there’s more to it that I’m missing.
Would anyone be able to give any pointers on this? Are these fundamental reasons why it would actually be difficult to do? Any gotchas I should be aware of before I dive in?