Open camhart opened 3 years ago
Amplify calls Cognito's authorize
endpoint to show hostedUI. It seems to support this feature, we need to call login
and signup
endpoints for login and signup respectively.
I will discuss with the team to check if we can add support for this feature.
Right now
Amplify.Auth.signInWithWebUI
only opens to the login page. The customer can always click "Sign up", but that text is hidden at the bottom of the page and not very noticeable.I'd like to request a
Amplify.Auth.signUpWithWebUI
endpoint, that simply opens to the Sign Up page by default. That way I can have Login / Register buttons of my own that triggersignInWithWebUI
andsignUpWithWebUI
.I've dug through the source code and couldn't figure out a way to do this already. If it is already possible sorry for the ticket but please let me know how.