Lumen 6 (PHP): doubt about how to regiter new user

Hi everybody!
I have it working Lumen 6 and Auth0 like this tutorial:

But I don’t know how to register a new user through auth0, save it in my database and link it with a token. Would you help me?

NB

1 Like

Hi @nbulian Welcome to Auth0 Community.

It looks like you have got RESTFul API setup with Lumen. In order to register and allow user to login, you will need a client application which you can build with any number of frontend or mobile technologies. Checkout our Single Page application or Native/Mobile App quickstarts https://auth0.com/docs/quickstarts

Essentially you will be implementing SPA + API or Mobile + API architecture scenario as documented here https://auth0.com/docs/architecture-scenarios/spa-api
https://auth0.com/docs/architecture-scenarios/mobile-api