Cognito Hosted UI customization not updating

0

Previously I could update CSS for Cognito. Now when I upload a new file, I get a success message, but the hosted UI does not use the new CSS. Seems like a new bug on AWS side but is there anything else that needs to be done to see changes reflected in the UI?

已提问 2 年前1690 查看次数
2 回答
1

Hi,

From the case I understand that you when you upload a new CSS file you see that the hosted UI does not use the new CSS. Please let me know if I misunderstood the issue.

The likely issue in this case is that your app client is using client-level settings for CSS and you are uploading the new CSS file to the app client default hosted UI customization. I am attaching the following documentation that goes over specifying app UI customization settings here (1). Once you locate the app client settings for the app client that you wish to modify you can check to see if the hosted UI customization is using default settings or if it is using client-level settings. If the app client is using client-level settings then you would have to edit the CSS in the app client similar to how it is done in steps 5-8 in the documentation. Editing the app client default settings for the Hosted UI as is done in step 4 would not edit the CSS for app clients that use client-level settings rather than default settings.

If you have any follow-up questions I would be more than happy to answer them. I hope you have a great rest of your day!

References

(1) https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-ui-customization.html#cognito-user-pools-app-ui-customization-console

AWS
支持工程师
已回答 2 年前
0

Brilliant, I had forgotten about client-specific customization. Will take a look, thank you!

david
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则