firebase / firebase-js-sdk

Firebase Javascript SDK
https://firebase.google.com/docs/web/setup
Other
4.83k stars 890 forks source link

FR: auth - control anonymous users using recaptcha (or something else) #2957

Open AoDev opened 4 years ago

AoDev commented 4 years ago

[REQUIRED] Describe your environment

Context

The anonymous login is a very important feature for our product and works great :)

However, I could find a recaptcha integration only for phone authentication. (Sorry if I missed something, the docs are extensive).

Question

Here are some questions:

Desired feature

An easy way to control anonymous users registration in Firebase with recaptcha or something else.

Thank you.

Feiyang1 commented 4 years ago

I believe we rate limit the anonymous user creation. @bojeil-google

bojeil-google commented 4 years ago

We do rate limit anonymous login. But I think the request is to block creation if it is not created by a real user and real browser (which we don't support). Currently, developers are expected to clean up inactive anonymous users using the Admin SDK APIs.

This is an interesting feature request. I would recommend you file an official request for it.