Open Closed

Issue with reCAPTCHA v2 in Blazor Server 7.0.1 #4507


User avatar
0
balessi75 created

Abp Commercial 7.0.1 / Blazor Server / EF / Non-Tiered / Separate Auth server (OpenIddict)

Hi, We started testing the reCAPTCHA v2 functionality. Once we enabled reCAPTCHA in ABP and setup a proper site key and secret key, we noticed the following two items that appear to be a bug, but we wanted confirmation. We verified the functionality with a new blank abp solution created from 7.0.1 (Blazor Server).

Item 1: The recapcha prompt does not appear on login or register

Item 2: When clicking to login/register, the following shows, but the entire form is gone with no way to ever click the "I'm not a robot" button.


9 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Can you share some browser developer tools screenshots?

  • User Avatar
    0
    balessi75 created

    Hi,

    Can you share some browser developer tools screenshots?

    We see this error on the login screen where the reCAPCHA does not show...

  • User Avatar
    0
    balessi75 created

    Hi,

    Can you share some browser developer tools screenshots?

    Hi, I created a new application template in Abp 5.2 with the same options and I confirmed that reCAPCHA works as expected in 5.2. Please advise on working with Abp 7.0.1

    Thanks in advance,

    @balessi75

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I will check it

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    It's working for me.

    Site key: 6LetWMwZAAAAABU_tYdnlB54yJx-06FsWqfc27Ee Site secret 6LetWMwZAAAAAEMvn9TxKHcji45_ZM7TFGXMHO2q

  • User Avatar
    0
    balessi75 created

    We are using the lepton theme instead of the leptonX theme. Could that have something to do with it?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    HI,

    It has nothing to do with the theme, and lepton theme also works for me.

    I think you are specifying the wrong version.

    I could reproduce the problem if I specify version 3 but use version 2 site key and site secret

  • User Avatar
    0
    balessi75 created

    Thanks for looking into this @liangshiwei.

    We verified the version numbers and now see the reCAPTCHA check box on the login form. The problem we are still seeing is that if you don't check the box and click to login, an error to check the box is present but the form disappears.

    Can you try this when you get a chance? Here is our setup...

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I use your site key and site secret, and it also works.

    I think it is more related to your local environment. can we have a meeting? I'd like to check it remotely. shiwei.liang@volosoft.com

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38