Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cognito User Pool Self-Service Sign-Up not working #3102

Closed
1 task done
xisvaldo opened this issue Mar 21, 2024 · 1 comment
Closed
1 task done

Cognito User Pool Self-Service Sign-Up not working #3102

xisvaldo opened this issue Mar 21, 2024 · 1 comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@xisvaldo
Copy link

Upcoming End-of-Support

  • I acknowledge the upcoming end-of-support for AWS SDK for Java v1 was announced, and migration to AWS SDK for Java v2 is recommended.

Describe the bug

I'm trying to create an user pool setting the self-service sign-up property as disable. According to the documentation, it should be done like this:

CreateUserPoolRequest.builder()
    .userPoolName("my-user-pool")
    .adminCreateUserConfig { 
        it.allowAdminCreateUserOnly(true)
        ... // irrelevant code
        .build()
    }
    // irrelevante code
    .build()

But when checking the created user pool, it always says the self sign up is enabled:
image

Expected Behavior

The expected behavior is that the user pool should prevent users from self sign up, but to get access from an invitation.

Current Behavior

There is no error, just the behavior that is not expected.

Reproduction Steps

I have mentioned it above.

Possible Solution

No response

Additional Information/Context

No response

AWS Java SDK version used

2.20.42

JDK version used

openjdk 19.0.2

Operating System and version

Ubuntu 20.04.6 LTS

@xisvaldo xisvaldo added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Mar 21, 2024
Copy link

This issue is now closed.

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant