I am using Capacitor.js to run our Next.js application as a hybrid app on iOS. It uses the Auth0 React SDK.
When users attempt to log in on the iOS app, our custom Auth0 domain is opened in Safari. After logging in, they are returned to our app. However, the Auth0 logs show a “Failed Silent Auth” error with the description “Login required”.
After reading through various fora, I think I’ve narrowed this down to being an issue with Safari not sharing cookies with the Web View that is used by Capacitor.js to display the app. Showing our auth domain directly in the application (inside the Web View) is not an option, since Google SSO does not allow this.
Any help with getting this issue resolved would be greatly appreciated.