Problems with authClient.login

I had a similar problem that was discussed in this question: authClient.login returns an error with "Unauthorized start of request"

I can not find anything on the firebase site that directly solves this problem, so I have 2 questions about the "source of an unauthorized request":

1.) If I test my program through my computer (for example, it’s just a file on my computer), what exactly should I add to the Auth panel? I tried to follow the recommendations given above but no luck.

2.) My possible plan is to create an application using firebase and a login system. Will this be a problem when trying to log in users? Will there be something I need to allow so that any user can log in?

+1
source share
1 answer

With the release of Firebase Simple Login, which contains several authentication methods based on OAuth (Facebook, Twitter, GitHub, etc.), we have included the idea of ​​"Authorized Sources". Without this restriction, malicious sites may pretend to be your application and try to access your Facebook, Twitter, etc. user data. On your behalf.

, , . , , .

, Firebase Forge ( URL- Firebase ) "Auth" .

  • - , file://. barebones - cd python -m SimpleHTTPServer, http://127.0.0.1:8000/....
  • , . (, a.b.www.domain.com) , (domain.com *.domain.com).

IP-, .

. https://www.firebase.com/docs/security/simple-login-overview.html .

, ! , .

+5

All Articles