Ability to add user to organization upon SAML login


We use Github Enterprise (Github Enterprise Version: 2.22.3). We use SAML for authentication.
We have few pre-created organizations.

Is there a policy framework which can be used to add new users to pre-created organizations automatically upon SAML login?

Thanks and Regards,

GitHub Enterprise does not currently offer a built in way to automatically sync users to an organization or team upon initial account creation with SAML authentication.

In the meantime you could utilize the GitHub Enterprise API along with global webhooks to set up an automation of your own that meets your needs.

For example, your application could listen for a Global webhook that triggers on the UserEvent (fires when someone creates or deletes a user account) to notify an external system that then utilizes the GitHub Enterprise API to add the user to the appropriate organizations.