Saas business looking to create AUTH0 users from within Salesforce

Hi, I would like to create auth0 users in Salesforce. I would like to create a contact in Salesforce and provision this contact to be a user and create them in Auth0. Has anyone successfully done this? Can you share your APEX code? Its important to sync the Auth0 ID with the Salesforce Account and Contact ID.


I confess I have no experience with APEX nor am I aware of any sample that calls into Auth0 Management API. Having said that have you already tried to achieve that requirement through the Management API (!/Users/post_users) and using external HTTP calls from APEX (