Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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.