Skip to content

Commit a001291

Browse files
authored
adding autosignin callout (#8168)
1 parent 874906a commit a001291

File tree

1 file changed

+4
-1
lines changed
  • src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in

1 file changed

+4
-1
lines changed

src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

+4-1
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ signInWithRedirect({ provider: {
830830
}})
831831
```
832832

833-
### Auto sign-in
833+
## Auto sign-in
834834

835835
The `autoSignIn` API will automatically sign-in a user when it was previously enabled by the `signUp` API and after any of the following cases has completed:
836836

@@ -842,6 +842,9 @@ import { autoSignIn } from 'aws-amplify/auth';
842842

843843
await autoSignIn();
844844
```
845+
<Callout>
846+
**Note**: When MFA is enabled, your users may be presented with multiple consecutive steps that require them to enter an OTP to proceed with the sign up and subsequent sign in flow. This requirement is not present when using the `USER_AUTH` flow.
847+
</Callout>
845848

846849
</InlineFilter>
847850
<InlineFilter filters={['react-native']}

0 commit comments

Comments
 (0)