Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something went wrong - The link must be opened on the same device and browser from which you submitted your email address #964

Open
6 tasks done
Prabhat2510 opened this issue Aug 27, 2024 · 0 comments
Labels
bug This points to a verified bug in the code

Comments

@Prabhat2510
Copy link

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 Prabhat2510 added the bug This points to a verified bug in the code label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

1 participant