-
Notifications
You must be signed in to change notification settings - Fork 5
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
Auth0 user invite tickets #895
Conversation
w.Header().Add("Content-Type", "application/json") | ||
json.NewEncoder(w).Encode(ticket) | ||
} | ||
|
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.
Added these methods so the Auth0 management API doesn't error on us during tests.
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.
This looks good, I just had one comment suggesting a possible change.
Codecov ReportBase: 44.66% // Head: 47.48% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #895 +/- ##
==========================================
+ Coverage 44.66% 47.48% +2.82%
==========================================
Files 667 280 -387
Lines 24198 20662 -3536
Branches 1517 667 -850
==========================================
- Hits 10807 9811 -996
+ Misses 12017 9481 -2536
+ Partials 1374 1370 -4
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Scope of changes
This adds some functionality to the BFF to generate user invite tickets. There are two types of tickets the BFF generates:
Type of change
Acceptance criteria
With this change the user should receive a user invite email when they are added as a collaborator in the organization. If they click the link they should be able to change their password if they are a new user, or be automatically redirected to the configured GDS_BFF_AUTH0_REDIRECT_URL if they are an existing registered user.
Author checklist
Reviewer(s) checklist