@openhi/constructs 0.0.93 → 0.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +4 -0
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +5 -0
- package/lib/index.mjs.map +1 -1
- package/package.json +8 -8
package/lib/index.mjs
CHANGED
|
@@ -576,6 +576,7 @@ CognitoFixtureSeederClient.SSM_PARAM_NAME = "COGNITO_FIXTURE_SEEDER_CLIENT";
|
|
|
576
576
|
|
|
577
577
|
// src/components/cognito/cognito-user-pool.ts
|
|
578
578
|
import {
|
|
579
|
+
FeaturePlan,
|
|
579
580
|
UserPool,
|
|
580
581
|
VerificationEmailStyle
|
|
581
582
|
} from "aws-cdk-lib/aws-cognito";
|
|
@@ -596,6 +597,10 @@ var CognitoUserPool = class extends UserPool {
|
|
|
596
597
|
emailStyle: VerificationEmailStyle.CODE
|
|
597
598
|
},
|
|
598
599
|
removalPolicy: props.removalPolicy ?? service.removalPolicy,
|
|
600
|
+
// Plus is required for access-token V2 claim customization in the
|
|
601
|
+
// pre-token-generation Lambda. Essentials silently drops
|
|
602
|
+
// claimsAndScopeOverrideDetails.accessTokenGeneration.claimsToAddOrOverride.
|
|
603
|
+
featurePlan: FeaturePlan.PLUS,
|
|
599
604
|
/**
|
|
600
605
|
* Over-rideable props
|
|
601
606
|
*/
|