I have an Angular Client/Laravel api application and want to allow users of the client to add users, who will then be sent a verification email. My laravel api is built following this: https://auth0.com/docs/quickstart/backend/laravel.
However, I’m stuck how to get started with calling the Management api from my Laravel app. I have read this: https://auth0.com/docs/design/creating-invite-only-applications which is similar to what I want to do (except that I still want to allow users to sign-up normally via the client and Lock).
Does the Auth- SDK/laravel-auth0 package provide anything which will help me with:
- Creating users
- Calling the Create an Email Verification Ticket endpoint?
If not, do I just use the curl methods from PHP as shown in https://auth0.com/docs/design/creating-invite-only-applications
I am assuming that I need to set my Laravel app as a second Auth0 client, as an non-interactive client with access to the Management api?