Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Auth Couldn't Verify Domain

I have a Firebase account, and I want to tailor the email address from which verification emails are sent. I follow the instructions.

enter image description here

I have a domain registered with 1&1 and set up as instructed.

enter image description here

But after about 2 days, I get the following.

enter image description here

Please can anyone advise. Thanks

like image 762
Richard Avatar asked May 31 '17 16:05

Richard


3 Answers

I also was unable to verify my custom domain for the auth templates.

My solution was to remove my custom domain from the host name in the DNS records needed for the verification.

Example:

TXT record: from contoso.com to @

CNAME record: from firebase._domainkey.contoso.com to firebase._domainkey

Note: My domain is hosted by Godaddy.com

like image 87
Edwin Rodriguez Avatar answered Oct 01 '22 12:10

Edwin Rodriguez


For those using Cloudflare. Make sure you don't have DNS flattening activated in the CNAME.

enter image description here

like image 41
joscas Avatar answered Oct 01 '22 11:10

joscas


Maybe the trailing space on your TXT record?

$ dig txt thewhozoo.com

; <<>> DiG 9.8.3-P1 <<>> txt thewhozoo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59407
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;thewhozoo.com.         IN  TXT

;; ANSWER SECTION:
thewhozoo.com.      3600    IN  TXT "firebase=thewhozoo-143913 "
thewhozoo.com.      3600    IN  TXT "v=spf1 include:_spf.firebasemail.com ~all "

;; Query time: 45 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Jun  8 23:49:07 2017
;; MSG SIZE  rcvd: 125
like image 44
Dominic Tracey Avatar answered Oct 01 '22 11:10

Dominic Tracey