Google reCAPTCHA not showing up in my heroku app - heroku

Google reCAPTCHA is working fine as expected locally but not at heroku.
The herokuapp has a custom domain however.
Not sure but could be a problem with adding the site with reCAPTCHA. https://www.google.com/recaptcha/admin
I tried -
mysite.com
mysite.herokuapp.com
Not luck!
Looking at the source code, in my heroku app, i see the dom loaded with the markup for reCAPTCHA but not showing up. Can't validate the form and submit.
Please suggest me on this or i should i go for add two number validation.
Thanks

Related

Recaptcha: Is it possible to integrate Google Recaptcha on all pages instead of forms alone

I have seen several websites showing google recaptcha when opening their pages in Tor browser or vpn connection, is it possible to integrate invisible recaptcha on all pages in website which is running in PHP, so that bots or other malicious traffic can be blocked with the recaptcha. I have searched recpatcha documentation here : https://developers.google.com/recaptcha/intro
But there is no clear steps described to add the recapthca on pages. Any suggestions or documentation to run invisible captcha on webpages instead of forms is appreciated.

Newsletter signup for Mailchimp : Recaptcha not showing

Originally I use Mailchimp embed form for newsletter signup.
But it was not reCAPTCHA enabled. It worked well but few hours ago, I noticed large amount of spam signups at Mailchimp.
So I was going to add reCAPTCHA to my form to prevent bots.
I go to the Mailchimp -> Settings -> List name and campaign defaults and I saw the checkbox for reCAPTCHA enabling as below.
Mailchimp Enabling reCAPTCHA
I enabled it. The problem is that I cannot see reCAPTCHA box on the form. And I tested with several fake data and
the result is everything worked well as before.
Could anybody help me? Where am I wrong?
We started getting spam signups as well. It turns out the reason for that is that Mailchimp turned off double opt-in a few weeks ago. So I turned it back on and the spam signups stopped.
I would rather use reCaptcha than double opt-in but like you cannot get reCaptcha to work.

Google Oauth2 in embedded browser (web view)

I added Google OAuth2 to my website. I noticed that when the website was opened in a embedded browser (web view), redirecting to google auth page (see the link below) will fail with error:
"403 disallowed_useragent".
Here is the link:
https://accounts.google.com/o/oauth2/v2/auth?client_id=813505898895-9vocl0haapnp562pn1hmut2sibregabn.apps.googleusercontent.com&response_type=code&scope=openid%20profile%20email&redirect_uri=http%3A%2F%2Fwww.antgora.com%2Fauth1%2Fsign-in%2Fgoogle&state=6515338772758876.%2F
I get that Google no longer allows OAuthrequests to Google in web view. But here is the strange thing. The google sign in demo
developers.google.com/identity/sign-in/web/sign-in work fine when opened in web view. I managed to find the client_idand redirect_uri used in the demo and replace them into the my google auth link (see the updated link below), the updated link can now magically open in web view.
https://accounts.google.com/o/oauth2/v2/auth?client_id=831371170934-udapit5jhjj56pft5l2drc9gjhfeclf3.apps.googleusercontent.com&response_type=code&scope=openid%20profile%20email&redirect_uri=storagerelay%3A%2F%2Fhttps%2Fgoogle-developers.appspot.com%3Fid%3Dauth58372&state=6515338772758876.%2F
Notice that I changed only client_idand redirect_url and nothing else. Later I found more client_idsthat also works with webview. I am wondering is there any specific settings for these client_ids to work?
Also I want to know what's the recommended fix to:
"403 disallowed_useragent"?
My website has no native app. And most likely, people will just open the website they received on online chat in a webview. I'd like to avoid showing the :
"403 disallowed_useragent"
error when they click *sign-in by Google*.

The new Google Invisible reCaptcha - invisible or not?

Google announced Invisible ReCAPTCHA is coming soon. For now, if you want to integrate the new reCAPTCHA to your site or app you can register here.
I do have 2 site keys whitelisted for the new Invisible reCaptcha and I've started "playing" with their examples: see them here https://developers.google.com/recaptcha/docs/invisible
Yes, when the page loads the recaptcha is invisible but when the form is submitted the recaptcha challenge appears all the time. You have to click on images, draw something around something else... etc
I've been testing this on different servers, 2 different sites which have the site key approved to use the Invisible reCaptcha, with different browsers form different locations. Same behavior: Google shows the challenge when the form is submitted on all 3 examples they have on their page.
Is this what we should expect?
Just as with the checkbox, if it can't reliably determine if you aren't a bot, you get a challenge. I can confirm that the invisible part does work when you are detected as a human.
Actually you have to approve the Terms of Service when you create a new reCAPTCHA site, that says that
You agree to explicitly inform visitors to your site that you have implemented the Invisible reCAPTCHA on your site and that their use of the Invisible reCAPTCHA is subject to the Google Privacy Policy and Terms of Use.

Instagram API Permission declined Magento Extension

We already have Instagram Magento extensions, the extension fetches images from the account we configure in the backend and shows in frontend side of Magento wherever i want. It was working fine until Instagram declared new API permission review system. I tried submitting app 2-3 times now, everytime declined. Is there anybody can help to get my app approved.
If it won't work many extension vendors will have problem with it. Instgram guys shall help but even they are not replying.
You can use this extension
I am also using this extension it's working fine for me and it will definitely work for you also
https://www.magentocommerce.com/magento-connect/instagram-integration-widget-by-neklo.html

Resources