Skip to content

Commit eb5a851

Browse files
jjarvispjosefaidt
andauthored
Apply suggestions from code review
Co-authored-by: josef <[email protected]>
1 parent 38d12ea commit eb5a851

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ Pass `SMS_OTP` as the `preferredChallenge` when calling the `signIn` API in orde
11251125

11261126
```ts
11271127
const { nextStep: signInNextStep } = await signIn({
1128-
username: 'example-username',
1128+
username: '+15551234567',
11291129
options: {
11301130
authFlowType: 'USER_AUTH',
11311131
preferredChallenge: 'SMS_OTP',
@@ -1238,7 +1238,7 @@ Pass `EMAIL_OTP` as the `preferredChallenge` when calling the `signIn` API in or
12381238

12391239
```ts
12401240
const { nextStep: signInNextStep } = await signIn({
1241-
username: 'example-username',
1241+
username: 'hello@example.com',
12421242
options: {
12431243
authFlowType: 'USER_AUTH',
12441244
preferredChallenge: 'EMAIL_OTP',
@@ -1351,7 +1351,7 @@ Pass `WEB_AUTHN` as the `preferredChallenge` in order to initiate the passwordle
13511351

13521352
```ts
13531353
const { nextStep: signInNextStep } = await signIn({
1354-
username: 'example-username',
1354+
username: 'hello@example.com',
13551355
options: {
13561356
authFlowType: 'USER_AUTH',
13571357
preferredChallenge: 'WEB_AUTHN',
@@ -1388,7 +1388,7 @@ if (signInNextStep.signInStep === 'DONE') {
13881388

13891389
```ts
13901390
const { nextStep: signInNextStep } = await signIn({
1391-
username: 'example-username',
1391+
username: 'hello@example.com',
13921392
password: 'example-password',
13931393
options: {
13941394
authFlowType: 'USER_AUTH',
@@ -1410,7 +1410,7 @@ The `confirmSignIn` API can then be used to select a challenge and initiate the
14101410

14111411
```ts
14121412
const { nextStep: signInNextStep } = await signIn({
1413-
username: 'example-username',
1413+
username: '+15551234567',
14141414
options: {
14151415
authFlowType: 'USER_AUTH',
14161416
},

0 commit comments

Comments
 (0)