-
Notifications
You must be signed in to change notification settings - Fork 4k
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 UserPools lacking setters for attributes present in Web Console #7245
Comments
Thanks for filing this. Responses below -
MFA options are available in the CDK here - https://docs.aws.amazon.com/cdk/api/latest/docs/aws-cognito-readme.html#multi-factor-authentication-mfa
This does not exist in the CDK. Please open a separate feature request for this.
Unfortunately, if a feature is not supported in CloudFormation, it cannot be incorporated into the CDK. Please follow the guidelines here - https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/ - and open a request for CloudFormation to support this.
We have a feature request open for this already - #6853
All OAuth flows and scopes can be found here - https://docs.aws.amazon.com/cdk/api/latest/docs/aws-cognito-readme.html#app-clients
This exists in CloudFormation here, however, it has not been implemented in the CDK. If you would like this, please open a separate feature request for this. |
Thanks a ton @nija-at for this super useful breakdown and feedback, I'll file those issues separatedly soon ;) |
…ssue aws/aws-cdk#7245. A few gaps left to cover to make this deployment stack usable though. Looks like it might take a bit longer to have a fully deployable and secure Cognito setup with Cloudformation/CDK
I would like to have access to all attributes presented on the AWS Web Console after creating a regular Cognito UserPool/IdentityPool.
Use Case
I would like to provide an easily deployable authentication backend for the Bioinformatics app "Integrative Genomics Viewer", both the Java and Javascript versions of it, on AWS:
https://github.com/umccr/igv/commits/aws_cdk_deploy
I need this feature to be able to allow third party biological laboratories to deploy this AWS stack easily on their own sensitive data repositories on S3. For more context see:
https://umccr.org/blog/igv-amazon-backend-setup/
Proposed Solution
Here are the attributes I would need to have access to in order to have the Cognito backend properly setup, as seen on the UserPools AWS Web Console:
As indicated on
CFN==
andCDK==
tags, I've not been able to find a straightforward way to set those specific attributes programmatically (by both checking official docs and CDK/JSII code classes). For instance, I noticed that somemfa
functionality has been introduced between CDK 1.26 and 1.31, but there are still no methods to modify the aforementioned attributes, even when they are clearly present as private/protected attributes onCfnUserPoolProps
.See the following code for more context and current progress:
https://github.com/umccr/igv/blob/aws_cdk_deploy/src/main/java/org/umccr/awscdk/IGVAmazonCognitoStack.java
Other
/cc @reisingerf @victorskl
Adding a reference to this issue to #6765 as it is being worked on.
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: