This server helps you to simulate auth0 server locally. So, you are able to use the
/tokeninfo
endpoint to verify your token.
- Install Node.js
- on OSX use homebrew
brew install node
- on Windows use chocolatey
choco install nodejs
- on OSX use homebrew
fork
this repoclone
your forknpm install
to install all dependencies
After you have installed all dependencies you can now run the app.
Run npm start
to start a local server.
The port will be displayed to you as http://0.0.0.0:3333
(or if you prefer IPv6, if you're using express
server, then it's http://[::1]:3333/
).
Returns a token with the given user(username). This token can the be used by your application.
Returns the data of the token like the username.
Body
{
"id_token": "your-token-kjasdf6ashasl..."
}
- express-typescript-boilerplate - Boilerplate for an restful express-apllication written in TypeScript
- express-graphql-typescript-boilerplate - A starter kit for building amazing GraphQL API's with TypeScript and express by @w3tecch
Made with ♥ by Gery Hirschfeld (@GeryHirschfeld1)