GoogleCloudPlatform / recaptcha-enterprise-flutter

Apache License 2.0
23 stars 8 forks source link

Plans or recommendation for Web? #25

Open levelupatlas-mat opened 1 year ago

levelupatlas-mat commented 1 year ago

Title is self-explanatory. While I know this is just in preview state, can we expect this to support web anytime soon? If not, what would be the recommended way for web integration of reCaptcha enterprise?

mcorner commented 1 year ago

As of yet, no. I think there are at least a few web flutter plugins (third party ones). Have you tried them?

levelupatlas-mat commented 1 year ago

As of yet, no. I think there are at least a few web flutter plugins (third party ones). Have you tried them?

There really aren't. There's g_recaptcha_v3 that's for web but it's v3 not Enterprise, and aside from that there's really not much that's active and/or stable at all.

Thanks for the quick response though! I ended up making my own js interop solution and I'm able to get my token to send to my backend.

mcorner commented 1 year ago

That's great. We aren't exactly set up for taking contributions ATM (we use an internal repo as the source of truth), but if you are willing to do some implementation work, we could set things up to accept it into this repo.

levelupatlas-mat commented 1 year ago

Sure thing, if I find some time I'd give it a shot. (Would be from another account btw)

Moritz401 commented 6 months ago

@levelupatlas-mat Could you perhaps show your js interop solution. I am currently trying to do this and am still failing.

nmasnadithya commented 1 month ago

Hi @mcorner, I did an implementation that works for my use case on https://github.com/nmasnadithya/recaptcha-enterprise-flutter

I'm willing to spend some time polishing it up(Options for controlling the badge, etc...), so the changes can be added to the main repo.

mcorner commented 1 month ago

That's great, we would love to take a look @nmasnadithya When you are ready, send us a pull and we can look.