reCAPTCHA icon indicating copy to clipboard operation
reCAPTCHA copied to clipboard

Add support for reCAPTCHA Invisible

Open ernestogutierrez opened this issue 7 years ago • 16 comments

Google has added a new type of reCAPTCHA called Invisible.

See reCAPTCHA invisible documentation

ernestogutierrez avatar Jul 14 '17 01:07 ernestogutierrez

@PaulMiami any idea on timescales for this enhancement?

egmfrs avatar Aug 31 '17 09:08 egmfrs

@egmfrs not sure I don't have much time for it at the moment

PaulMiami avatar Sep 06 '17 02:09 PaulMiami

Would you be accepting this as a pull request? I might have some time to add it.

SanderDeclerck avatar Sep 20 '17 07:09 SanderDeclerck

@SanderDeclerck any luck with this?

dotnetshadow avatar Dec 04 '17 22:12 dotnetshadow

I should be able to create a pull request by the end of next week.

Outlook voor Android downloaden

On Mon, Dec 4, 2017 at 11:41 PM +0100, "dotnetshadow" [email protected] wrote:

@SanderDeclerck any luck with this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

SanderDeclerck avatar Dec 05 '17 05:12 SanderDeclerck

@SanderDeclerck Awesome that would be great

dotnetshadow avatar Dec 05 '17 09:12 dotnetshadow

I did some tests. The validator does not need to change. The form data is the same as for the standard recaptcha. Only a new tag helper is needed.

Invisible recaptcha is bound to the submit button of a form. My proposal would be to create two taghelpers.

First one: <input for-recaptcha-form>:

<form id="my-form">
   <!-- some input fields -->
   <input for-recaptcha-form="my-form" type="submit" value="Submit form" />
</form>

Second one: <recaptcha-invisible-script form-id />:

@section Scripts {
    <recaptcha-invisible-script form-id="my-form" />
}

I could have it implemented by the end of next week.

SanderDeclerck avatar Dec 06 '17 18:12 SanderDeclerck

@SanderDeclerck good work, sounds like it should be simple enough

dotnetshadow avatar Dec 06 '17 20:12 dotnetshadow

It has been implemented in the pull request I just created.

SanderDeclerck avatar Dec 22 '17 13:12 SanderDeclerck

@SanderDeclerck thank you so much for this

Do you have a myget of your version?

dotnetshadow avatar Dec 27 '17 23:12 dotnetshadow

@dotnetshadow no, I don't have it on myget, and I don't plan to either.

Just wait a bit, give @PaulMiami some time to test and pull the changes.

If you want to use it earlier, then you could clone my fork and add a project dependency - or you could build the project and reference the dll manually.

I don't think there is much sense in creating a myget package just for a single build. One NuGet package for this project is enough: PaulMiami.AspNetCore.Mvc.Recaptcha. It makes it clear which version is the latest.

SanderDeclerck avatar Dec 28 '17 06:12 SanderDeclerck

@SanderDeclerck yes you are right, I was just wondering from a testing point of view but yes I will wait thanks again for your efforts. Much appreciated

dotnetshadow avatar Dec 28 '17 08:12 dotnetshadow

You can always clone my fork if you wish to test. There's also a sample project in the solution.

SanderDeclerck avatar Dec 28 '17 09:12 SanderDeclerck

@PaulMiami Is there a rough ETA on when this release will be out?

AaronSadlerUK avatar Jan 10 '18 12:01 AaronSadlerUK

@DJSADERS I have merge @SanderDeclerck #24 into a new branch, you can get it from there. I have identified some issues that I am working on, I don't want to give an eta as I don't really have time to work on it but I'll update this issue when I'll update the new branch...

PaulMiami avatar Jan 11 '18 04:01 PaulMiami

Is anything still happening with this?

coldacid avatar Mar 11 '20 15:03 coldacid