App hosted on firebase does not have access to firebase authentication? PERMISSION_DENIED

826 views
Skip to first unread message

Christos Savva

unread,
Nov 2, 2018, 3:25:46 AM11/2/18
to Firebase Google Group
Hello, I deployed a demo app on Firebase hosting using firebase-tools and firebase deploy command.

When I visit the app on the browser and I try to login using email/pass I get the error

{"error":{"code":403,"message":"Requests from referer https://myapp.firebaseapp.com/signup are blocked.","errors":[{"message":"Requests from referer https://myapp.firebaseapp.com/signup are blocked.","domain":"global","reason":"forbidden"}],"status":"PERMISSION_DENIED"}}

the domain myapp.firebaseapp.com/signup is added to the Authorized domains

What am i missing?
 

Christos Savva

unread,
Nov 3, 2018, 5:45:40 PM11/3/18
to Firebase Google Group
Solved it in the end. It seems that is not enouph to have the Authorized domains only to Firebase. You need to have them also in the Browser API in Gooogle Cloud Platform.
Reply all
Reply to author
Forward
0 new messages