Skip to content

Send Sign In Links/Codes via SendGrid and Twilio #1540

@Davinkjohnson

Description

@Davinkjohnson

Currently sign-in (and sign-up) magic links and verification SMS messages are sent directly from Firebase, using an NCI email for links. This system works but there are occasional issues where mostly links, but also sms codes, are not being delivered to participants/recruits. In these instances, we do not have visibility to determine whether the messages were actually delivered and there's some filtering or other issue on the participant side, or if there's an issue with Firebase attempting to send the message.

The sign up and sign in process relies heavily on the "black box" created by Firestore which manages all the calls necessary, but doesn't allow for editing of the GUI or customization of the process. We have implemented some of our own UI and built out sign in editing capabilities in the "My Profile" section of the PWA, which could be used as an example.

In the future, we'd like to have magic links and SMS verification codes sent to participants using SendGrid and Twilio, respectively. It will be important to continue having the magic link sent in a way that ensures unsubscribes from other study communications don't impact sign-in communications. This change should allow team members to determine whether messages were successfully delivered, and better troubleshoot sign-in issues.

We will want to keep the sign up and sign in flows as consistent as possible. The process and look and feel have been reviewed for and approved, and much of the process requires IRB review and approval to change.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions