I don’t think this is possible on the Shopify Grow plan.
With new customer accounts, the Google login flow is controlled by Shopify, and the social login URL uses temporary/session-based parameters for security. That is why extracting or reusing the Google OAuth URL can fail with expired tokens or login errors.
There does not appear to be a stable public Google OAuth endpoint that can be used to bypass Shopify’s customer login page and log the customer in directly.
For this use case, the safer approach is to redirect the customer to Shopify’s normal customer login flow and let them choose Google there. If you need to fully replace Shopify’s default sign-in experience with your own identity provider, that is generally a Shopify Plus-level feature, not available on Grow.
So in short: you can customize the OTP flow before login, but you cannot programmatically force/skip directly into Google OAuth for Shopify new customer accounts on Grow.
Hey @vedicspoons101 ,
Shopify does not allow direct triggering of Google OAuth or bypassing the authentication screen. The login flow is session based and controlled by Shopify for security reasons. The only stable and supported solution is to use Shopify’s native customer authentication flow and let Google login happen within that system. Your current OTP flow can remain as a pre auth step but final login must go through Shopify’s authentication endpoint.
Thank You !