react-native-auth0 icon indicating copy to clipboard operation
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

Open Prabhat2510 opened this issue 1 year ago • 0 comments

Checklist

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. Screenshot 2024-08-27 at 3 42 53 PM

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

Prabhat2510 avatar Aug 27 '24 10:08 Prabhat2510