Relay: branded OTP email via Resend only - #267
Merged
Merged
Conversation
Pin @hraness/relay to 5ef01b0: sign-in codes now use the Accounts
format ({code} is your xcb sign-in code) and delivery failures surface
to the client instead of printing that a code was emailed. Drops the
dead sendgrid transport and its env wiring.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
@hraness/relayto5ef01b0(hraness/relay#7): sign-in codes now use the Accounts format — subject{code} is your xcb sign-in code, plain-text body with the 10-minute expiry line — via the newproductNameconfigrelay error: Email delivery is unavailable.) instead of falsely printing that a code was emailed; the challenge recordsambiguoussendgridtransport branch and itsXCB_SENDGRID_*env wiring;log,resend,webhookremain. Production is already configured forresend(xcb <xcb@auth.hraness.com>)Test plan
bun run typecheck,check:versions,check:convexcleanbun test ./src ./test ./scripts— 1094/1094 passGenerated with Devin