#Recaptcha Angular SSR

4 messages · Page 1 of 1 (latest)

unkempt anchor
#

Since I'm using Recaptcha, I'm getting problems with recaptcha, the package i'm use is https://www.npmjs.com/package/ngx-captcha

mild flume
#

Are you using it in a SSR application? Because it uses the window global object, and AFAIK, this is not supported on the server.

unkempt anchor
#

Yea i'm using a SSR app, but how can I use recaptcha then?

mild flume
#

By

  • finding a better Angular integration lib, or
  • writing one yourself, or
  • submitting a pull request or an issue about the problem to the maintainer of the lib, to fix the issue
  • keeping using your lib, but only include the catcha on the client, not on the server (no experence with SSR, but I guess it's possible to do that)