-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix recording of tests when using a separate authentication api instance #322
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #322 +/- ##
==========================================
- Coverage 95.18% 95.10% -0.08%
==========================================
Files 46 46
Lines 8956 8956
==========================================
- Hits 8525 8518 -7
- Misses 329 334 +5
- Partials 102 104 +2 ☔ View full report in Codecov by Sentry. |
CONTRIBUTING.md
Outdated
|
||
Then create a local `.env` file in the `authentication` folder with the following settings: | ||
|
||
* `AUTH0_DOMAIN`: The **Domain** of the M2M app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `AUTH0_DOMAIN`: The **Domain** of the M2M app | |
* `AUTH0_DOMAIN`: The **Domain** of the Auth0 tenant |
mgmtClientID = os.Getenv("AUTH0_CLIENT_ID") | ||
mgmtClientSecret = os.Getenv("AUTH0_CLIENT_SECRET") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these be AUTH0_MGMT_CLIENT_ID
and AUTH0_MGMT_CLIENT_SECRET
to more clearly distinguish them from their auth counterparts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd left these as matching what's used for the management tests to make it easier to reuse them (some folks might opt to set environment variables themselves instead of the .env file)
🔧 Changes
Improves the coverage of the authentication client when running
make test-e2e
and skips tests that ultimately are not testable in that test scenario. Also updates the contributing documentation to help with creating the required applications.📚 References
🔬 Testing
📝 Checklist