[Feedback]Auto Sign-in after Sign-up missing explanation
Page: /lib/auth/emailpassword/q/platform/[platform]
Feedback:
In the section, "Auto sign in after sign up" the code snippet given isn't explained at all - what is this? How is this helpful? Should this be set up before the signup function is called? Can it be called from Auth.confirmSignUp().then()? Are you supposed to be able to return the user from this function? Can an example be provided? Any context at all would be helpful.
Thank you!
Hi @AndroidDoctorr can you elaborate on what information you think would be useful?
This just shows a way to get the CognitoUser if auto-signIn is enabled in your app but Amplify would handle the actual login for you. Would more details on the Hub itself like shown here or here have been useful?