Skip to content

fix: disable Cognito self sign-up by default#115

Merged
konokenj merged 2 commits intoaws-samples:mainfrom
badmintoncryer:fix/disable-self-signup
Mar 20, 2026
Merged

fix: disable Cognito self sign-up by default#115
konokenj merged 2 commits intoaws-samples:mainfrom
badmintoncryer:fix/disable-self-signup

Conversation

@badmintoncryer
Copy link
Contributor

Summary

  • Set selfSignUpEnabled to false on the Cognito UserPool so that only administrators can create users
  • Improves default security posture of the starter kit

Closes #106

Set selfSignUpEnabled to false so that only administrators can create
users, improving the security posture of the starter kit.

Closes aws-samples#106
@badmintoncryer badmintoncryer changed the title fix(auth): disable Cognito self sign-up by default fix(cdk): disable Cognito self sign-up by default Mar 19, 2026
@badmintoncryer badmintoncryer changed the title fix(cdk): disable Cognito self sign-up by default fix(auth): disable Cognito self sign-up by default Mar 19, 2026
@badmintoncryer badmintoncryer changed the title fix(auth): disable Cognito self sign-up by default fix(cdk): disable Cognito self sign-up by default Mar 19, 2026
@badmintoncryer badmintoncryer changed the title fix(cdk): disable Cognito self sign-up by default fix: disable Cognito self sign-up by default Mar 20, 2026
Copy link
Contributor

@konokenj konokenj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for your contribution!

@konokenj konokenj merged commit 9396e6f into aws-samples:main Mar 20, 2026
5 of 6 checks passed
@badmintoncryer badmintoncryer deleted the fix/disable-self-signup branch March 20, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cognito UserPoolのselfSignUpEnabledデフォルトをfalseに変更する

2 participants