* chore: Update modules providers configuration with 'identifier' and 'PROVIDER' * update check * fix tests * type * normalize auth provider * emailpass * providers --------- Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com> 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 a Github App - https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app
- Go to the app, fetch the clientId and create a new clientSecret
- 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 and so on.