Skip to content

Commit

Permalink
adding autosignin callout (#8168)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjarvisp authored Dec 17, 2024
1 parent 874906a commit a001291
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ signInWithRedirect({ provider: {
}})
```

### Auto sign-in
## Auto sign-in

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:

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

await autoSignIn();
```
<Callout>
**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.
</Callout>

</InlineFilter>
<InlineFilter filters={['react-native']}
Expand Down

0 comments on commit a001291

Please sign in to comment.