Name:
interface
Value:
Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.

Guest access

You are currently viewing the AWS SDK for Mobile documentation which is a collection of low-level libraries. Use the Amplify libraries for all new app development. Learn more

You can view the Mobile SDK API reference here.

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

  • Run amplify update auth
  • Choose Manual Configuration.
  • Choose User Sign-Up, Sign-In, connected with AWS IAM controls
  • Select 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.

If you login in your app either using the Drop-In Auth or directly via the Auth APIs, the user session will transition automatically to an authenticated role.