Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2446

reCAPTCHA v3 not working [GHI#35232]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [X] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      login/ui

      Describe the bug

      reCAPTCHA V3 toggle in authentication/registration flow does not seem to be working.

      It always uses reCAPTCHA v2

      With v2 keys configured :

      • V3 not toggled => It works and shows a v2 captcha checkbox
      • V3 toggled => It works and shows a v2 captcha checkbox

      With v3 keys configured :

      • V3 not toggled => It does not work and shows ERROR for site owner: Invalid key type
      • V3 toggled => It does not work and shows ERROR for site owner: Invalid key type

      Version

      26.0.6

      Regression

      [ ] The issue is a regression

      Expected behavior

      Invisible reCAPTCHA

      Actual behavior

      !image

      Text being : ERROR for site owner: Invalid key type

      How to Reproduce?

      Follow steps in https://www.keycloak.org/getting-started/getting-started-docker
      => Allow user registration on the realm

      Add reCAPTCHA v3 (Google):

      • authentication/registration flow captcha required
      • add v3 keys
      • toggle v3

      Realm settings / Security defense
      !image

      Try to register using https://www.keycloak.org/app/

      Then you get

      !image

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Core Clients
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: