Web API Key and apiKey in firebaseConfig object are different - authentication broken

281 views
Skip to first unread message

Mirek Uhlir

unread,
Dec 29, 2021, 12:14:26 PM12/29/21
to Firebase Google Group
Hello,
I changed api key in credentials in Google Cloud Platform. Now I see this new apiKey in firebaseConfig object but  Web API Key is different. Probably the old one. Authentication via magic link is broken because apiKey in email link is the previous key and not the new one. Authentication ending on status":"PERMISSION_DENIED" reason":"API_KEY_HTTP_REFERRER_BLOCKED"
If I change apiKey in link to the new apiKey then authentication works.
Reply all
Reply to author
Forward
0 new messages