reCAPTCHA in action on havenlife.com

Integrating multiple reCAPTCHAs into Angular 2

reCAPTCHA Comin’ Atcha!

reCAPTCHA + Angular2

An uneasy pairing

Client-side Implementation

Directive and initialization

Please use a real function to get your own site-key out of configs
Explicit rendering of the reCAPTCHA with success and expiration callbacks.
reCAPTCHA tokens as observable subjects on a service

Server-side Implementation

Token Validation

Sample response json
Maybe all Commander Adama needed was a few reCAPTCHAs.

Invisible + Visible ReCAPTCHAs Together

Worth the Hassle?

Not entirely invisible

Conclusion

Maybe all Commander Adama needed was a few good reCAPTCHAs

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store