I experiencing this issue “Is there an issue sending out email verification notices?”
My SendGrid domain is verified and works for test emails sent via both Email Template and Email Provider. However when used in practice for sending a verification code, I’m seeing this error coming from the logs.
{
"date": "2020-10-02T20:14:09.745Z",
"type": "fn",
"description": "To: <my email>",
"connection": "email",
"connection_id": "",
"client_id": "<client_id>",
"details": {
"email_type": "verification_code",
"to": "<my email>",
"error": "The from address does not match a verified Sender Identity. Mail cannot be sent until this error is resolved. Visit https://sendgrid.com/docs/for-developers/sending-email/sender-identity/ to see the Sender Identity requirements"
},
"log_id": "90020201002201414993000125272909083283969104061256433682",
"_id": "90020201002201414993000125272909083283969104061256433682",
"isMobile": false,
"user_agent": "Other 0.0.0 / Other 0.0.0"
}
It seems to be an Auth0 bug, given that our verification works end-to-end in test emails – why would Auth0 not use same sender for verification emails? The “from” email looks correct in all circumstances in the logs, and is the same “from” email I use in tests.