Since I'm using Recaptcha, I'm getting problems with recaptcha, the package i'm use is https://www.npmjs.com/package/ngx-captcha
#Recaptcha Angular SSR
4 messages · Page 1 of 1 (latest)
Are you using it in a SSR application? Because it uses the window global object, and AFAIK, this is not supported on the server.
Yea i'm using a SSR app, but how can I use recaptcha then?
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)