Google SSO not working in Instagram in-app browsers

Hi,

I have google sso for my website, When i post a link to my website on Instagram stories and when users open that link in instagram in built browser (not chrome or safari or others) they get the below error

But they can signup and login if they open the same link in chrome or other browsers.

Is there any way to fix this?

Is there any way we can bypass Instagram in-app browser and open the website directly in chrome or other websites?

One option is to use javascript to inspect the user agent hoping that the in app browser is using one of the well known in app browsers user agents.
With this information you can conditionally show a message to ask the user to open the page in a normal browser and prevent the signig workflow.
Have a look to this code.

This topic was automatically closed after 70 days. New replies are no longer allowed.