github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/scripts/oauth-mock/README.md (about) 1 ### What is this? 2 3 This is a mock OAuth server for testing purposes. It allows you to run pyroscope with oauth enabled locally by mimicking gitlab oauth server. 4 5 6 ### Usage 7 8 To run the mock server, run the following command: 9 ```shell 10 node ./scripts/oauth-mock/oauth-mock.js 11 ``` 12 13 To run pyroscope with the right config run: 14 ```shell 15 make build 16 bin/pyroscope server -config scripts/oauth-mock/pyroscope-config.yml 17 ``` 18 19 Then go to http://localhost:4040/ and pyroscope should send you to log in via GitLab (which is really just our mock in this case). 20