1.6.0 • Published 6 months ago

@geprog/oauth-mock-server v1.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

oauth-mock-server

:rotating_light: IMPORTANT: This tool should ONLY be used for development and testing setups!

A mocked oauth server for development and e2e testing.

Config

You can adjust the default configuration by placing a file oauth-mock-server.json in your current working directory:

{
  "port": 5000,
  "realm": "my-project",
  "users": [
    {
      "id": "1",
      "username": "toni",
      "email": "toni@test.com",
      "name": "Toni Tester"
    },
    {
      "id": "2",
      "username": "alice",
      "email": "alice@wonderland.org",
      "name": "Alice Wonderland"
    },
    {
      "id": "3",
      "username": "herbert",
      "email": "her@bert.de",
      "name": "Herbert"
    }
  ],
  "tokenExpiresIn": 86400 // 24 hours in seconds
}
1.6.0

6 months ago

1.5.1

8 months ago

1.5.0

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.2.1

2 years ago

1.0.0

2 years ago