Skip to content

Commit

Permalink
cognito self signed enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromevdl committed Dec 18, 2022
1 parent cc03b0b commit c42051f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ export class S3UploadPresignedUrlApi extends Construct {

if (securedApi) {
if (!props?.existingUserPoolObj) {
this.userPool = new UserPool(this, 'CognitoUserPool');
this.userPool = new UserPool(this, 'CognitoUserPool', {
selfSignUpEnabled: true,
});
this.userPoolClient = new UserPoolClient(this, 'CognitoUserPoolClient', {
userPool: this.userPool,
});
Expand Down

0 comments on commit c42051f

Please sign in to comment.