Closed theonlyway closed 9 months ago
We think that this is likely an issue with google, in that they do not yet trust the latest device emulation's fingerprint - if this is the case, we're not able to resolve this one and it would have to be a fix coming from google.
It is possible however that the issue happens because it's using our default shared OAuth credentials for dev instances. It's a bit of a long shot, but it may resolve the issue if you go into your clerk dashboard for the app you're using, navigate to "User & Authentication" > "Social Connections", and clicking the settings cog for the google OAuth connection, and check the "use custom credentials" box and fill them out with your own google app's credentials. Let us know if this does the trick!
Yeah I tried switching to my own oauth provider still no go. Doesn't look like there is any config options on the provider to set allowed user agents so I guess we can't really do anything until Google does something.
Preliminary Checks
[X] I have reviewed the documentation: https://clerk.com/docs
[X] I have searched for existing issues: https://github.com/clerk/javascript/issues
[X] I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
[X] This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction / Replay Link
n/a
Publishable key
pk_test_a2V5LXNrdW5rLTAuY2xlcmsuYWNjb3VudHMuZGV2JA
Description
The clerk development endpoint is failing to allow you to login to Google via oauth if you use the latest device emulation option provided with the latest version of Edge (And probably Chrome)
Steps to reproduce:
Version 119.0.2151.93 (Official build) (64-bit)
)Expected behavior:
You should be able to login to the clerk dev endpoint via Google oauth
Actual behavior: You cannot login to Google oauth
Output of the error details button
The user agent being passed with this device is
Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1 Edg/119.0.0.0
Environment