How to set up Authentication with Google and AuthSession API in production mode in Expo

  1. SDK Version: 47
  2. Platforms(Android/iOS/web/all):

The Expo documentation clearly outlines how to setup Authentication with Google and AuthSession API, but only in development mode. The example given shows how to set up a project in Google Cloud Console (GCP) but does not give steps to setup the GCP in production mode.

I am facing a challenge when setting up GCP using an Expo managed application. When setting up GCP, you are required to provide Authorized JavaScript Origin and Authorized redirect URIs. I have given these as https://auth.expo.io and https://auth.expo.io/@{expo-username}/{slug}.

However, when going to production, GCP requires you to verify the domains you provided in the Google Search Console. In this case, the domain I am supposed to verify is expo.io, which I do not own.

Is there a way to solve this issue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.