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?


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 Auth0

Essentially you will be implementing SPA + API or Mobile + API architecture scenario as documented here Single-Page Applications (SPA) with API
Mobile Applications with API