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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.