1 Answer
- Newest
- Most votes
- Most comments
0
As of Jan-2024, there is now the ability to for access token customization feature for Amazon Cognito users. See AWS Security Blog How to customize access tokens in Amazon Cognito user pools
However, this is not supported for client credentials grant generated access token per Pre token generation Lambda trigger Customizing the access token section.
Although you can generate access tokens for machine-to-machine (M2M) authorization with Amazon Cognito with a client credentials grant, M2M requests don’t invoke the pre token generation trigger function and can't issue customized access tokens.
answered a month ago
Relevant content
- Accepted Answerasked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago