react-native-auth0
react-native-auth0 copied to clipboard
Something went wrong - The link must be opened on the same device and browser from which you submitted your email address
Checklist
- [X] The issue can be reproduced in the react-native-auth0 sample app (or N/A).
- [X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- [X] I have looked into the API documentation and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Description
I am getting this error , while opening the link which i have received on my entered email ID. I am using this method to request the email link - auth0.auth .passwordlessWithEmail({ email: '[email protected]', send: 'link', }) .then(() => Alert.alert('Email Sent', 'Check your email for the login link'), ) .catch(error => { console.log('error', error); Alert.alert('Error', error.message); });
I have properly configured the callback and logout URL's in Auth0 portal. Also i have enabled the Passwordless OTP Grant type.
Reproduction
Just call this method to receive the link -
auth0.auth .passwordlessWithEmail({ email: '{YOUR_EMAIL_ID}', send: 'link', }) .then(() => Alert.alert('Email Sent', 'Check your email for the login link'), ) .catch(error => { console.log('error', error); Alert.alert('Error', error.message); });
And then open the link received on your email in Safari or Chrome browser.
Additional context
No response
react-native-auth0 version
3.0.0
React Native version
0.72.1
Expo version
No response
Platform
iOS
Platform version(s)
NA