Deploy an Expo app to production
There are a few caveats to deploying production Expo applications with Clerk. This guide will walk you through the steps to deploy your Expo app to production.
Acquire a domain
Before deploying your Expo app to production, you must acquire a domain. Even though there may not be a web application associated with an Expo app, Clerk still requires a domain for production instances.
Configure your Expo app
With Clerk, you can add OAuth flows in your Expo applications.
Clerk ensures that security critical nonces will be passed only to allowlisted URLs when the OAuth flow is complete in native browsers or webviews.
So for maximum security in your production instances, you need to allowlist your custom redirect URLs:
- Navigate to the Clerk Dashboard.
- In the navigation sidebar, select User & Authentication > Social Connections.
- Scroll to the Allowlist for mobile OAuth redirect section and add your redirect URLs.
- The default is
your-app-scheme://oauth-native-callback
- If you'd like to pass a custom redirect url, make sure you add that to the allowlist.
- The default is
Deploy to production
Now that you have acquired a domain and configured your Expo app, you can follow the Clerk deployment guide.
Feedback
Last updated on