Fix account creation: set recovery email for password reset#36
Merged
Conversation
- Set recoveryEmail to personal_email during account creation so users
can use "Forgot password" to get a reset link at their personal email
- Remove broken POST /users/{key}/sendAs call (Gmail API, not Admin SDK)
Terraform PlanChanges detected — review required. Plan output |
LLM Plan ReviewRisk: 🟢 LOW Routine Lambda function update for team_provisioner with source code hash change, no infrastructure changes or security implications.
|
After creating a Google Workspace account, send an email from the admin account to the hero's personal email with their @java.no address and instructions to use "Forgot password" to set up their account. Requires gmail.send scope added to domain-wide delegation in GCP Admin.
Terraform PlanChanges detected — review required. Plan output |
LLM Plan ReviewRisk: 🟢 LOW Routine Lambda function update for team_provisioner with code hash change, no infrastructure changes or security implications.
|
Alexanderamiri
added a commit
that referenced
this pull request
May 9, 2026
## Summary
- Set `recoveryEmail` to hero's personal email during Google Workspace
account creation
- Remove broken `POST /users/{key}/sendAs` call (Gmail API, not Admin
SDK)
- Users can now go to accounts.google.com → "Forgot password" → get
reset link at their personal email
## Test plan
- [ ] Merge and let CI apply
- [ ] Invoke Lambda with Alexander Samsig to test account creation
- [ ] Verify he can use "Forgot password" to get a reset link at his
personal email
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
recoveryEmailto hero's personal email during Google Workspace account creationPOST /users/{key}/sendAscall (Gmail API, not Admin SDK)Test plan