-
-
Notifications
You must be signed in to change notification settings - Fork 266
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 UserPoolClient and UserPoolDomain #166
Comments
Hey @toomeydanielj, Thanks heaps for raising! For the User Pool Clients, I added the mapping to the additional fields and that resource should be comprehensive again now. For the User Pool Domains, I noticed a logic error that meant domains would never be generated which I've attempted to fix. The logic for these domains is a little tricky when compensating for prefix vs. custom domains, so give the updated version a shot and let me know if you still have issues with it. |
Thank you for the quick turnaround! The User Pool Client issue is fixed, I am now seeing all of the expected properties when hitting Generate. However, I am still not seeing my User Pool Domain show up. |
Hey @toomeydanielj, Thanks for letting me know. I've added some additional changes to the User Pool Domain logic which should now fix it 🤞 |
@iann0036 It works! Thank you! |
@iann0036 I worked through a couple more quirks while deploying the generated CloudFormation.
In the PasswordPolicy, it correctly outputs TemporaryPasswordValidityDays. A few lines later, the AdminCreateUserConfig outputs UnusedAccountValidityDays. Apparently, you can't use both of these in the same pool. Note https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html Solution:
to
I know you said it was difficult to detect if you're using a custom domain or not. But for my prefix domain, it still generates an CustomDomainConfig property. That cannot be empty, so it needs to be omitted for prefix domains. Solution:
To:
Both of these worked after the updates! Thanks again! |
Hey @toomeydanielj, Thanks again for those notes. That deprecated field issue is a fun one 😏. Latest updates should cover it. |
Hello,
I'm experiencing two issues with Cognito:
However, when I select it and hit Generate, I only get ReadAttributes, WriteAttributes, and ExplicitAuthFlows. It's missing all of the other properties like CallbackURLs, LogoutURLs, and AllowedOAuthScopes for example.
Is there a reason those don't show up when I Generate?
Are only custom domains supported?
The text was updated successfully, but these errors were encountered: