You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that the AWSMobileClient manages state by storing credentials in the keychain. So once a user is authenticated and logged into the application, now if the user goes ahead uninstalls and reinstalls the app the state is maintained and he doesn’t have to be authenticated again. Is there a way that everytime a user uninstalls and reinstalls the app he has to be authenticated and doesn’t log in directly?
Steps to reproduce:
This is the delete procedure I tried:
I installed the app, logged into the application.
Stopped the app from Xcode.
Deleted the app in the simulator.
Now if I start the app in Xcode again the user is redirected directly to the Landmarks list
And the console shows the following message:
Screenshots
Amplify CLI Version
4.16.1
Xcode Version
11.2.1
Desktop:
OS: Mac
Node Version: 12.2.0
NPM Version: 6.9.0
The text was updated successfully, but these errors were encountered:
I confirm the behaviour. This thread on Apple forum explains keychain data are not deleted when an app is deleted. https://forums.developer.apple.com/thread/36442 The thread is mentioning a way to workaround that behaviour, but that should be implemented in the AWSMobileClient SDK, not in the (workshop) app. I am engaging the product team to search for guidance.
We will consider this as we work on getting Amplify to GA. There are no security risks here since it is stored in the encrypted keychain (the preferred method). A lot of apps do actually work this way as well (if you remove/re-install you’ll be logged in again).
Describe the issue
I understand that the AWSMobileClient manages state by storing credentials in the keychain. So once a user is authenticated and logged into the application, now if the user goes ahead uninstalls and reinstalls the app the state is maintained and he doesn’t have to be authenticated again. Is there a way that everytime a user uninstalls and reinstalls the app he has to be authenticated and doesn’t log in directly?
Steps to reproduce:
This is the delete procedure I tried:
And the console shows the following message:
Screenshots
Amplify CLI Version
4.16.1
Xcode Version
11.2.1
Desktop:
The text was updated successfully, but these errors were encountered: