Reputation: 71
Is there any way to check if a user's username and password are valid without logging them in? Using:
import { Auth } from 'aws-amplify'; Auth.signIn(email, password);
Has the issue whereby upon calling that user is signed in causing the currently signed in user to be displaced. Is there a way to perhaps leverage Auth.signIn() to check if the credentials are correct without progressing to the full signin or even signing them in and signing them out immediately?
Upvotes: 1
Views: 180