releaser 2d5c2fc938
Unbound Release / Check Preconditions (push) Successful in 3s
Unbound Release / Create Tag (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 10s
Unbound Release / Create Release (push) Successful in 10s
Release / release (push) Successful in 15s
auth0mock / build (push) Successful in 1m26s
chore(release): prepare for 0.8.0 (#444)
## [0.8.0] - 2026-10-07

### 🚀 Features

- *(management)* Search users by email in any case (#443)

### 🐛 Bug Fixes

- *(deps)* Update module github.com/lestrrat-go/jwx/v4 to v4.5.0 (#427)

### ⚙️ Miscellaneous Tasks

- *(deps)* Update golang:1.27 docker digest to 7543a96 (#421)
- *(deps)* Update golang:1.27 docker digest to 512690a (#423)
- *(deps)* Update golang:1.27 docker digest to f44f6e8 (#425)
- *(deps)* Update golang:1.27 docker digest to 03fd17c (#429)
- *(deps)* Update golang:1.27 docker digest to 1cfcdb1 (#431)
- *(deps)* Update golang:1.27 docker digest to 3680233 (#433)
- *(deps)* Update golang:1.27 docker digest to e0174e5 (#435)
- *(deps)* Update golang:1.27 docker digest to 23fe807 (#437)
- *(deps)* Update golang:1.27 docker digest to 1e93e00 (#439)
- *(deps)* Update golang:1.27 docker digest to 162be52 (#441)

<!-- generated by git-cliff -->

---

**Note:** Please use **Squash Merge** when merging this PR.

Reviewed-on: https://gitea.unbound.se/unboundsoftware/auth0mock/pulls/444
Co-authored-by: Unbound Releaser <releaser@unbound.se>
2026-10-07 18:14:22 +00:00
2019-12-17 20:32:14 +01:00
2019-12-17 20:32:14 +01:00
2019-12-17 20:32:14 +01:00
2019-12-17 20:32:14 +01:00
2019-12-17 20:32:14 +01:00
2023-06-01 15:00:26 +02:00

auth0-mock-server

This server helps you to simulate auth0 server locally. So, you are able to use the /tokeninfo endpoint to verify your token.

Getting Started

Prerequisites

Installing

  • fork this repo
  • clone your fork
  • npm install to 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..."
}

License

MIT


Made with ♥ by Gery Hirschfeld (@GeryHirschfeld1)

S
Description
No description provided
Readme MIT
1.6 MiB
0 Stars 6 Watchers 0 Forks
0.8.0
Latest
2026-10-07 18:14:41 +00:00
Languages
Go 95.5%
HTML 3.4%
Dockerfile 1.1%