A
A
AlessArver2021-04-02 15:02:23
JavaScript
AlessArver, 2021-04-02 15:02:23

How to check if a user is authorized with aws-amplify?

For login I use this: await Auth.signIn(username, password)

With this I check: await Auth.currentAuthenticatedUser(). Even after authorization I get: The user is not authenticated. There are no errors during authorization. Everything is going well. The only problem is validation.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question