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개 답변
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠