Skip to content

Commit b8c8caf

Browse files
authored
Fix liveness sample readme to use correct auth setup (#26)
1 parent 9dd7ac9 commit b8c8caf

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

samples/liveness/README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,26 @@ amplify add auth
4646
```
4747
Provide the responses shown after each of the following prompts.
4848
```
49-
? Do you want to use the default authentication and security configuration?
50-
`Default configuration`
51-
? How do you want users to be able to sign in?
49+
? Do you want to use the default authentication and security configuration?
50+
`Default configuration with Social Provider (Federation)`
51+
? How do you want users to be able to sign in?
5252
`Username`
53-
? Do you want to configure advanced settings?
53+
? Do you want to configure advanced settings?
5454
`No, I am done.`
55+
? What domain name prefix you want us to create for you?
56+
`(default)`
57+
? Enter your redirect signin URI:
58+
`myapp://callback/`
59+
? Do you want to add another redirect signin URI
60+
`No`
61+
? Enter your redirect signout URI:
62+
`myapp://signout/`
63+
? Do you want to add another redirect signout URI
64+
`No`
65+
? Select the social providers you want to configure for your user pool:
66+
`<hit enter>`
5567
```
68+
4. Update the `AndroidManifest.xml` file in your project according to the steps [here](https://docs.amplify.aws/lib/auth/signin_web_ui/q/platform/android/#update-androidmanifestxml).
5669
5. Once finished, run `amplify push` to publish your changes.
5770
Upon completion, `amplifyconfiguration.json` should be updated to reference these provisioned backend resources.
5871
6. Follow the steps below to create an inline policy to enable authenticated app users to access Rekognition, which powers the FaceLivenessDetector.

0 commit comments

Comments
 (0)