|
1
|
## Testing |
|
2
|
|
|
3
|
In order to manually test the flow, you can do the following: |
|
4
|
|
|
5
|
1. Register an app in `https://console.cloud.google.com/apis/credentials/consent` |
|
6
|
2. Generate clientId and clientSecret credentials in the console |
|
7
|
3. Replace the values in the test with your credentials |
|
8
|
4. Remove the `server.listen()` call |
|
9
|
5. Run the tests, get the `location` value from the `authenticate` test, open the browser |
|
10
|
6. Once redirected, copy the `code` param from the URL, and add it in one of the `callback` success tests |
|
11
|
7. Once you run the tests, you should get back an access token, id token, and so on. |