aws-amplify / aws-amplify/amplify-cli

lambda-pre-token-generation-accesstoken v2.

Open
#13,638 8 comments 0 reactions 1 assignee Claimed by @nadetastic View on GitHub
auth feature-request transferred
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### Is this related to a new or existing framework?

React

### Is this related to a new or existing API?

Authentication

### Is this related to another service?

Cognito Trigger

### Describe the feature you'd like to request

I want to add a claim to access token instead of id token to get this claim on a lambda app sync call.
There is an updated API to do that:
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html#user-pool-lambda-pre-token-generation-accesstoken

### Describe the solution you'd like

add the v2 API to get access to access token.

### Describe alternatives you've considered

--

### Additional context

_No response_

### Is this something that you'd be interested in working on?

- [X] 👋 I may be able to implement this feature request
- [X] ⚠️ This feature might incur a breaking change

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.