How do I configure a Cognito User Pool to prevent ...
# help
p
How do I configure a Cognito User Pool to prevent sign ups? to require users to be created by other users.
m
This should disable self-signup:
Copy code
const auth = new Auth(this, "Auth", {
  cognito: {
    userPool: { selfSignUpEnabled: false },
  },
});
p
Ah, that was easy. I'm surprised I missed it when going through the docks.
docs, not docks.