Problem:
After a user authenticates with AuthSession, they are prompted to open the redirect with my app twice. If a user selects the option on the right it causes the app to crash. I have attached an image of the “open with” prompt and the auth session code.
let auth0_redirectUrl = AuthSession.getRedirectUrl();
let authUrl = `https://${auth0_domain}/authorize` +
toQueryString({
client_id: auth0_clientId,
response_type: 'token',
scope: 'openid profile email',
connection: 'facebook',
redirect_uri: auth0_redirectUrl,
});
let result = await AuthSession.startAsync({authUrl: authUrl,});
@adamjnav haven’t been able to find a solution for this yet. Any suggestions on how I should troubleshoot this? Would it be useful if I shared an APK with the issue?