If I run the iOS Simulator and select under my recently opened projects my current expo project, I can perform my oAuth2 authentication flow without any issues.
If I run the iOS simulator in debug mode (Development mode checked) and select my project under recently in development, the AuthSession.getRedirectUrl returns undefined and localhost causing my app to fail authenticating because the redirect url is incorrect.
Here is the print out of AuthSession.getRedirectUrl():
Is there a reason why the Expo debug mode causes the app to not be authenticated to Expo?
In non-debug mode, I get back a valid redirect url which I can use with my oAuth2 authentication flow.
Thank you, Bastien