amplify-android icon indicating copy to clipboard operation
amplify-android copied to clipboard

[Feature Request] Amplify.Auth.signUpWithWebUI

Open camhart opened this issue 4 years ago • 1 comments

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 trigger signInWithWebUI and signUpWithWebUI.

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.

camhart avatar Aug 11 '21 21:08 camhart

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.

div5yesh avatar Aug 12 '21 22:08 div5yesh