* wip * wip * verbose logging * remove prepublish scripts * chore: add back prepublish scripts * wip * remove prepublishOnly script * chore: Clean up rest of build scripts * add back build script * feedback --------- Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Testing
In order to manually test the flow, you can do the following:
- Register an app in
https://console.cloud.google.com/apis/credentials/consent - Generate clientID and clientSecret credentials in the console
- Replace the values in the test with your credentials
- Remove the
server.listen()call - Run the tests, get the
locationvalue from theauthenticatetest, open the browser - Once redirected, copy the
codeparam from the URL, and add it in one of thecallbacksuccess tests - Once you run the tests, you should get back an access token, id token, and so on.