We have an existing Next.js web application using nextjs-auth0 (v4) and a React Native mobile app using react-native-auth0 (v5.4.0). Users are already authenticated on the web app. When they tap an “Open in App” link, we want them to land in the mobile app already logged in without the need to go through the auth0 login screen again.
Is Custom Token Exchange the recommended approach for Web to Native SSO? Or is there a different way to implement this?
Our env is:
-
nextjs-auth0v4.16.0 -
react-native-auth0v5.4.0 (React Native with iOS (Universal Links) and Android (App Links) for deep link verification)
Thank you.