I’ve used Auth0 Lock in the past with great success. It was super easy to setup for a web application.
This time around I need to secure a Node REST API where there is no web/ios/android client.
I found links over to the auth0 npm module. I created a prototype server with the module, but it doesn’t seem to do what I was hoping it would. I’m looking for a way to create and login users 100% via Node.
So users would signup by hitting my Node app route
POST /signup with their username and password. I’d then make some sort of call to Auth0 to get them in the system. I’d get a token back from Auth0 that I can send to the user that they can use with future requests. There would also be a
POST /login where the user can pass the username and password via the request body.
It seems like there is no way to do this without a web/ios/android client. I just wanted to confirm if that was the case or not.