Tutorial Sign In with Google | React Native Expo
Beto, November 8, 2022 · 45,436 views
Google login is one of those features users just expect, and the old Expo Google Sign-In package for it is deprecated. I use Expo Auth Session instead, the maintained approach, and take a React Native app from Google Cloud setup to pulling the user's name, email, and photo. The whole flow is in the video, including the config details that silently break OAuth redirects.
What's inside
- Setting up the OAuth consent screen and client IDs in Google Cloud Console
- Bundle identifier and package name config in
- The redirect URI format that makes the flow work
- Opening the login browser with and
- Reading the token and user profile after sign-in
- Keeping client secrets off GitHub and prepping for production
Resources

CourseReact Native course
Go deeper in the Expo Router section: 115 minutes covering auth flows, routing, and deep linking.
Had a win? Get featured on Code with Beto.Share your story
Like this article? Get the rest of the library plus weekly React Native tips. Free.