Many applications have UX with Guest or "Unauthenticated" users. This functionality is supported out of the box with
AWSMobileClient through the initialization routine. However, the Amplify CLI does not enable this by default with the
amplify add auth flow. You can enable this by
amplify update auth
User Sign-Up, Sign-In, connected with AWS IAM controls
Allow unauthenticated logins.
When complete run
amplify push to update your backend and
awsconfiguration.json file. The
AWSMobileClient user session will automatically have permissions configured for Guest users upon initialization.