In case anyone is interested in existing FOSS alternatives:
Auth0: https://openaltfinder.com/alternatives-to/auth0
Salesforce: https://openaltfinder.com/alternatives-to/salesforce
Auth0: https://openaltfinder.com/alternatives-to/auth0
Salesforce: https://openaltfinder.com/alternatives-to/salesforce