argoyle 6558d027ca feat: increase resource limits and improve readiness checks
Increases memory requests and limits in the Kubernetes deployment 
configuration to ensure better performance under load. Enhances 
the readiness and liveness probes by correcting the path and 
adding a liveness probe to improve service reliability. Updates 
Code by cleaning up session data after a successful token exchange 
and formats OpenID configuration response for better readability. 
Adds `.claude/` to .gitignore to prevent unwanted files from 
being tracked.
2025-12-28 15:25:52 +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
2025-10-28 23:11:20 +00:00
2025-06-29 14:42:56 +02: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
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.4 MiB
0.7.2 Latest
2026-02-12 11:24:03 +00:00
Languages
Go 95.1%
HTML 3.7%
Dockerfile 1.2%