You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am creating a pre token generation trigger that needs to add a list of roles to the token claims, but with the current ClaimsToAddOrOverride interface of the CognitoEventUserPoolsPreTokenGenV2 event, only allows string values are allowed to be added to the claims. As far as I can tell from the Docs, you are able to add nested maps and lists of strings to toke claims.
Describe the solution you'd like
Update the interface to allow nested maps and arrays of strings in the token claims as it is permitted by the Docs for the ClaimsToAddOrOverride.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am creating a pre token generation trigger that needs to add a list of roles to the token claims, but with the current
ClaimsToAddOrOverride
interface of theCognitoEventUserPoolsPreTokenGenV2
event, only allows string values are allowed to be added to the claims. As far as I can tell from the Docs, you are able to add nested maps and lists of strings to toke claims.Describe the solution you'd like
Update the interface to allow nested maps and arrays of strings in the token claims as it is permitted by the Docs for the ClaimsToAddOrOverride.
The text was updated successfully, but these errors were encountered: