## [0.7.6] - 2026-06-15 ### ⚙️ Miscellaneous Tasks - *(deps)* Update gcr.io/distroless/static-debian12 docker digest to 9c346e4 (#325) - *(deps)* Update golang:1.26 docker digest to cc9a5d7 (#327) - *(deps)* Update golang:1.26 docker digest to 8530a4f (#329) - *(deps)* Update golang:1.26 docker digest to 6df14f4 (#331) - *(deps)* Update golang:1.26 docker digest to 2d6c802 (#333) - *(deps)* Update golang:1.26 docker digest to 98fc714 (#335) - *(deps)* Update golang:1.26 docker digest to 68cb6d6 (#337) - *(deps)* Update golang:1.26 docker digest to 11fd8f7 (#339) - *(deps)* Update golang:1.26 docker digest to d47ca13 (#341) - *(deps)* Update golang:1.26 docker digest to d184d9b (#343) - *(deps)* Update golang:1.26 docker digest to 87a41d2 (#345) - *(deps)* Update golang:1.26 docker digest to 792443b (#347) <!-- generated by git-cliff --> --- **Note:** Please use **Squash Merge** when merging this PR. Reviewed-on: #348 Co-authored-by: Unbound Releaser <releaser@unbound.se> Co-committed-by: Unbound Releaser <releaser@unbound.se>
auth0-mock-server
This server helps you to simulate auth0 server locally. So, you are able to use the
/tokeninfoendpoint to verify your token.
Getting Started
Prerequisites
- Install Node.js
- on OSX use homebrew
brew install node - on Windows use chocolatey
choco install nodejs
- on OSX use homebrew
Installing
forkthis repocloneyour forknpm installto install all dependencies
Running the app
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/).
Initial users
Adding a JSON file with the following layout will populate the users store when starting:
{
"email@test.com": {
"given_name": "name",
"family_name": "family",
"user_id": "id"
}
}
By default ./users.json will be read but this can be overridden by setting the environment variable USERS_FILE.
API Documentation
GET /token/:username
Returns a token with the given user(username). This token can the be used by your application.
POST /tokeninfo
Returns the data of the token like the username.
Body
{
"id_token": "your-token-kjasdf6ashasl..."
}
Related Projects
- 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
License
Made with ♥ by Gery Hirschfeld (@GeryHirschfeld1)