Bug report
Describe the bug
When initiating a Google OAuth2 flow via the Supabase web SDK in responsive mode (in my case in MS Edge browser, with iPad responsive emulation), Google blocks the request as a "403 disallowed_useragent".
When disabling the responsive device emulation, everything works again.
To Reproduce
- Follow the steps as described in the documentation.
- Open the browser dev tools
- Enable responsive mode and choose a device (in my case, an iPad Pro 11")
- Initiate a Google OAuth2 flow with:
supabase.auth.signIn({
provider: 'google',
});
Expected behavior
When initiating an OAuth flow in a mobile device (as a responsive emulation in the browser), Google should not reject the request, just like it does without responsive device emulation.
Screenshots
This is the error screen I'm getting from Google.

System information
- OS: Windows 10
- Browser (if applies): Microsoft Edge
- Version of supabase-js: 1.21.0
- Version of Node.js: 16.6.1
Additional context
Leads
This seems to be related to recent changes in the Google OAuth2 policy that disallow webview user agents to perform OAuth2 requests.
Workarounds
I have none in that case, I am developing a PWA that must be installed on an iPad but must also be available in the browser.
If you aren't developing a PWA, disabling responsive device emulation works fine.
Bug report
Describe the bug
When initiating a Google OAuth2 flow via the Supabase web SDK in responsive mode (in my case in MS Edge browser, with iPad responsive emulation), Google blocks the request as a "403 disallowed_useragent".
When disabling the responsive device emulation, everything works again.
To Reproduce
Expected behavior
When initiating an OAuth flow in a mobile device (as a responsive emulation in the browser), Google should not reject the request, just like it does without responsive device emulation.
Screenshots
This is the error screen I'm getting from Google.
System information
Additional context
Leads
This seems to be related to recent changes in the Google OAuth2 policy that disallow webview user agents to perform OAuth2 requests.
Workarounds
I have none in that case, I am developing a PWA that must be installed on an iPad but must also be available in the browser.
If you aren't developing a PWA, disabling responsive device emulation works fine.