Skip to content

feat: Add guest_emails variable and per-user send-credentials delivery#4

Merged
rlei-odes merged 1 commit into
mainfrom
feat/guest-emails
May 26, 2026
Merged

feat: Add guest_emails variable and per-user send-credentials delivery#4
rlei-odes merged 1 commit into
mainfrom
feat/guest-emails

Conversation

@rlei-odes

Copy link
Copy Markdown
Owner

testing on fork

Closes stefanko-ch#606

- New optional TF_VAR_guest_emails feeds Cloudflare Access whitelist only
  (not USER_EMAIL notification env vars), so trusted collaborators can log
  in without inbox noise from teardown/spin-up emails.
- send-credentials endpoint now reads CF-Access-Authenticated-User-Email
  and sends to the logged-in caller. Falls back to USER_EMAIL[0] if the
  header is missing (with console.warn).
- CC admin for visibility, skipped when caller is admin.
@rlei-odes rlei-odes merged commit 2991b80 into main May 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant