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

Outdated documentation about how to use reCAPTCHA in development with localhost [GHI#36887]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • RHBK-2757 - Release Red Hat Build of KeyCloak

      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

      docs

      Describe the bug

      This seems to be a bug in keycloak`s docs, and they seem to be oudated - see here

      If you Keycloak on localhost for development purposes, you can no longer use the recaptcha by default. Instead you need to add it to your reCAPTCHA configuration. See https://developers.google.com/recaptcha/docs/faq#localhost_support for more details:

      > I'm getting an error "Localhost is not in the list of supported domains". What should I do?
      localhost domains are not supported by default. If you wish to continue supporting them for development you can add them to the list of supported domains for your site key. Go to the reCAPTCHA Enterprise console or to the reCAPTCHA console, as appropriate, to update your list of supported domains. We advise to use separate keys for development and production, and to only allow localhost on your development site key.

      Version

      26.1.0

      Regression

      [ ] The issue is a regression

      Expected behavior

      I expect that the docs are correct and one knows what to put in the mandatory field host for local development

      Actual behavior

      Right now one can assume that the field should be optional and you dont have to fill in anything for development

      How to Reproduce?

      its an update.

      Anything else?

      No response

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

                Created:
                Updated:
                Resolved: