-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for Cognito pre token generation with access token customization #538
Conversation
…token generation event V2
@@ -13,54 +13,62 @@ type CognitoEvent struct { | |||
Version int `json:"version"` | |||
} | |||
|
|||
// CognitoDatasetRecord represents a record from an AWS Cognito Sync event | |||
// CognitoDatasetRecord represents a record from an Amazon Cognito Sync event |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the doc fixes too!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #538 +/- ##
=======================================
Coverage 72.93% 72.93%
=======================================
Files 26 26
Lines 1456 1456
=======================================
Hits 1062 1062
Misses 322 322
Partials 72 72 ☔ View full report in Codecov by Sentry. |
…atability of the GroupConfiguration struct
Description of changes:
Added CognitoEventUserPoolsPreTokenGenV2 event context. Version 2 of the pre token generation trigger introduces the ability to customize the access token. See https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html#cognito-user-pools-lambda-trigger-syntax-pre-token-generation
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.