t49tran / react-google-recaptcha-v3

Google Recaptcha V3 integration for React
MIT License
427 stars 91 forks source link

recaptcha still return token even when offline #143

Open ong-appxplore opened 1 year ago

ong-appxplore commented 1 year ago

Hello,

I have this problem where sometimes my server cannot validate the recaptcha token from my client. What I found during debugging is that when the client is having bad Internet or disconnect, I still receive a token and that token validation always fail.

To simulate this, I just go to my site and set browser to offline mode. There's no error too.

DumasOlivier commented 1 year ago

Hello,

I have this problem where sometimes my server cannot validate the recaptcha token from my client. What I found during debugging is that when the client is having bad Internet or disconnect, I still receive a token and that token validation always fail.

To simulate this, I just go to my site and set browser to offline mode. There's no error too.

Did you find a solution to fix it @ong-appxplore ?