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 Answers
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
SUPPORT ENGINEER
answered 2 years ago
0

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

david
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions