Skip to content

Commit d452b89

Browse files
Update src/pages/gen2/build-a-backend/data/customize-authz/signed-in-user-data-access/index.mdx
Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>
1 parent 5d00b1b commit d452b89

File tree

1 file changed

+1
-1
lines changed
  • src/pages/gen2/build-a-backend/data/customize-authz/signed-in-user-data-access

1 file changed

+1
-1
lines changed

src/pages/gen2/build-a-backend/data/customize-authz/signed-in-user-data-access/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const { errors, data: newTodo } = await client.models.Todo.create(
5353
);
5454
```
5555

56-
## Override the authentication provider
56+
## Use identity pool for signed-in user authentication
5757

5858
You can also override the authorization provider. In the example below, `iam` is specified as the provider which allows you to use an "Unauthenticated Role" from the Cognito identity pool for public access instead of an API key. Your Auth resources defined in `amplify/auth/resource.ts` generates scoped down IAM policies for the "Unauthenticated role" in the Cognito identity pool automatically.
5959

0 commit comments

Comments
 (0)