I’m using the react-native-auth0 sdk to setup auth flow. Following the doc I did
try {
let authResult = await authorize({ scope: "openid profile email" });
console.debug("User authorized", authResult);
let credentials = await getCredentials();
console.debug("User access token", credentials);
} catch (error) {
console.error("Failed to sign in user", error);
}
The authorize call is success, however the result and the credentials returned are always undefined.
I did my search here and also made sure the bundle identifier and callback URLs are added to my auth0 dashboard. Still undefined is returned(no error was thrown)
expo: ~52.0.38
react: 18.3.1
react-native: 0.76.7
react-native-auth0: ^4.4.0
I’m using iOS simulator