Skip to content

Commit d77e718

Browse files
vincetranjosefaidt
andauthored
Apply suggestions from code review
Co-authored-by: josef <[email protected]>
1 parent b12eda5 commit d77e718

File tree

3 files changed

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

3 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ If the next step is `CONFIRM_SIGN_IN_WITH_OTP`, Amplify Auth has sent the user a
16271627

16281628
<Callout>
16291629

1630-
The result includes an `AuthCodeDeliveryDetails` member. It includes additional information about the code delivery, such as the partial email address of the recipient, which can be used to prompt the user on where to look for the code.
1630+
**Note:** The result includes an `AuthCodeDeliveryDetails` member. It includes additional information about the code delivery, such as the partial email address of the recipient, which can be used to prompt the user on where to look for the code.
16311631

16321632
</Callout>
16331633

@@ -1998,7 +1998,7 @@ This call fetches the current logged in user and should be used after a user has
19981998
If the user is signed in, it will return the current userId and username.
19991999

20002000
<Callout>
2001-
An empty string will be assigned to userId and/or username, if the values are not present in the accessToken.
2001+
**Note:** An empty string will be assigned to userId and/or username, if the values are not present in the accessToken.
20022002
</Callout>
20032003

20042004
<BlockSwitcher>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ if (confirmSignUpNextStep.signUpStep === 'DONE') {
893893
```java
894894
// Sign up using an email address
895895
ArrayList<AuthUserAttribute> attributes = new ArrayList<>();
896-
attributes.add(new AuthUserAttribute(AuthUserAttributeKey.email(), "my@email.com"));
896+
attributes.add(new AuthUserAttribute(AuthUserAttributeKey.email(), "hello@example.com"));
897897

898898
Amplify.Auth.signUp(
899899
"username",

src/pages/[platform]/build-a-backend/auth/connect-your-frontend/switching-authentication-flows/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Runtime configuration will take precedence and will override any auth flow type
299299

300300
</Callout>
301301

302-
> For more information about authentication flows, please visit [Amazon Cognito developer documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html#amazon-cognito-user-pools-custom-authentication-flow)
302+
For more information about authentication flows, please visit [Amazon Cognito developer documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html#amazon-cognito-user-pools-custom-authentication-flow)
303303

304304
## USER_AUTH (Choice-based authentication) flow
305305

0 commit comments

Comments
 (0)