kn_swe's avatar
Level 1

In-app browsers Socialite w/Google Access Blocked

When trying to authenticate w/google using Socialite from an in-app browser, getting Access Blocked. (does not comply with google's secure browsers policy). What can I do about it?

Thanks in advance.

0 likes
2 replies
imrandevbd's avatar

This is Google's security policy at play. They explicitly block OAuth requests coming from embedded WebViews which in-app browsers like Facebook, Instagram, and LinkedIn use to prevent man-in-the-middle attacks. There is no Laravel Socialite or server-side configuration that can bypass this, because Google blocks the request on their end based on the User-Agent.

Please or to participate in this conversation.