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

How to have single signUp and login experience from users perspective

Open Eumag opened this issue 3 years ago • 3 comments

Describe the bug

In passwordless (sms) approach, user gets authenticated based on verification of an OTP that is issued to the user. To user it does not matter whether it is signUp or a login as both of them involve same process of OTP verification. How can this be achieved?

Steps To Reproduce

This is not a bug. Probably a common use case that is either missing, not documented or required as improvement. I chose it for "Create a report to help us improve" which is under Bug Report.

Expected behavior

OTP verification should be sufficient for user authentication without distinguishing, to user, that it is a signUp (first time) or login (subsequent times).

Amplify Framework Version

1.28.0

Amplify Categories

Auth

Dependency manager

Cocoapods

Swift version

5.0

CLI version

9.2.1

Xcode version

13.4 (13F17a)

Relevant log output

No response

Is this a regression?

No

Regression additional context

No response

Device

iPhone11 - Real Device (ModelNo: MHDD3HN/A)

iOS Version

iOS 15.6.1

Specific to simulators

No response

Additional context

No response

Eumag avatar Sep 22 '22 10:09 Eumag

Auto signIn while signingUp a user is not currently supported. We will take this as a feature request and reply in this issue when we have more information.

royjit avatar Sep 30 '22 17:09 royjit

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!

github-actions[bot] avatar Sep 30 '22 17:09 github-actions[bot]

Any update on when autosign will be supported on native Android/iOS? At the moment, it is not possible to implement passwordless auth flow with Amplify.

HackerIn avatar Jun 08 '23 03:06 HackerIn