firecmsco / firecms

Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
https://firecms.co
Other
1.14k stars 185 forks source link

Implemented option for using AppCheck + FirebaseCMSApp and SampleApp updated #471

Closed sengerts closed 1 year ago

sengerts commented 1 year ago

Hi,

Since I wanted to use AppCheck in my FireCMS App and it is not supported yet, I implemented an option for using AppCheck and also updated the FirebaseCMSApp and SampleApp for use with AppCheck.

Best, Tobias

fgatti675 commented 1 year ago

Hi @sengerts Not sure if I am doing something wrong! I have enabled recaptcha in my Firebase demo project, geenrated public and privagte recatcha keys and configured everything. I am getting an error: AppCheck: Requests throttled due to 403 error. Attempts allowed again after 23h:59m:12s (appCheck/throttled). Any clues?

fgatti675 commented 1 year ago

By the way, I have done a little refactoring to your code after merging! Now the appcheck validation is done internally, and it is not linked to an authenticator. You can try it the version 2.0.0-beta.3-pre.1 :) Thank you!