I am using AWS Amplify (Auth) and I want to get user details with only username(email).
Is there any way to get user details before signing in?

I am following these docs: <https://docs.amplify.aws/lib/auth/getting-started/q/platform/js/>