Challenge 3 - Deploy a reCAPTCHA Token and Challenge Page

< Previous Challenge - Home - Next Challenge>

Introduction

reCAPTCHA Enterprise for WAF and Google Cloud Armor integration offers the following features: reCAPTCHA challenge page, reCAPTCHA action-tokens, and reCAPTCHA session-tokens. In this code lab, we will be implementing the reCATCHA session token site key and reCAPTCHA WAF challenge-page site.

Description

Create reCAPTCHA session token and WAF challenge-page site key

The reCAPTCHA JavaScript sets a reCAPTCHA session-token as a cookie on the end-user’s browser after the assessment. The end-user’s browser attaches the cookie and refreshes the cookie as long as the reCAPTCHA JavaScript remains active.

NOTE: Before beginning make sure you’ve enabled the reCAPTCHA Enterprise API as specified in Challenge 0.

Implement reCAPTCHA session token site key

NOTE: These pages only need to contain some title text to tell you which score it is for, like so:

Congrats

Success Criteria

Learning Resources