schlüssel

<head>
<script src="https://www.google.com/recaptcha/enterprise.js?render=6LeyPhwoAAAAAATABwrHzpntd7KOpuQ5I5yaJC-U"></script>
...
</head>

<script>
function onClick(e) {
  e.preventDefault();
  grecaptcha.enterprise.ready(async () => {
    const token = await grecaptcha.enterprise.execute('6LeyPhwoAAAAAATABwrHzpntd7KOpuQ5I5yaJC-U', {action: 'LOGIN'});
    // IMPORTANT: The 'token' that results from execute is an encrypted response sent by
    // reCAPTCHA Enterprise to the end user's browser.
    // This token must be validated by creating an assessment.
    // See https://cloud.google.com/recaptcha-enterprise/docs/create-assessment
  });
}
</script>