Create user in custom db from enterprise saml connection

Our ordering system requires a user to be created in our custom db to be able to place an order. We have customers wanting to use their SAML connections as IDP’s for login. Is there a flow/is it possible to create a user in a custom db through a hook or rule with a REST call after receiving a SAML assertion with user info?

Hi @nathan.breaux,

If I understand what you are asking, you can use rules to accomplish this. Basically, you’d keep some metadata to indicate whether the user has been created, and for SAML users that have not yet been created, you’ll make an API call to your custom DB API to create the user.

John