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 this feature request related to a new or existing Amplify category?
auth
Is this related to another service?
cognito
Describe the feature you'd like to request
Currently, the amplify cli doesn't support configuring the PreTokenGeneration trigger to v2_0 directly through its configuration
Describe the solution you'd like
amplify update auth Do you want to enable any of the following capabilities?
Add a Override Access Token option
Describe alternatives you've considered
use amplify override auth
and in override.ts
import{AmplifyAuthCognitoStackTemplate,AmplifyProjectInfo,}from"@aws-amplify/cli-extensibility-helper";exportfunctionoverride(resources: AmplifyAuthCognitoStackTemplate,amplifyProjectInfo: AmplifyProjectInfo){resources.userPool.userPoolAddOns={AdvancedSecurityMode: "ENFORCED",};// This works if I just ignore the type errorresources.userPool.lambdaConfig={preTokenGenerationConfig: {// ...// This is not currently supported// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-pretokengenerationconfigLambdaVersion: "V2_0",},};}
Additional context
No response
Is this something that you'd be interested in working on?
👋 I may be able to implement this feature request
Would this feature include a breaking change?
⚠️ This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
Is this feature request related to a new or existing Amplify category?
auth
Is this related to another service?
cognito
Describe the feature you'd like to request
Currently, the amplify cli doesn't support configuring the PreTokenGeneration trigger to v2_0 directly through its configuration
Describe the solution you'd like
amplify update auth
Do you want to enable any of the following capabilities?
Add a
Override Access Token
optionDescribe alternatives you've considered
use
amplify override auth
and in
override.ts
Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?
The text was updated successfully, but these errors were encountered: