A small town wants a quick compliant hosted login page for a citizen portal, while a larger city needs fully branded screens that call Cognito APIs directly. How should each choose?
Select an answer to reveal the explanation.
Short Explanation
Hosted UI is the town-hall prefab counter—fast and compliant enough for many portals. Custom UI is the full remodel when branding must own every pixel and still talk to Cognito APIs. Pick based on UX needs, not habit.
Full Explanation
Amazon Cognito supports a hosted UI for faster, managed sign-in experiences and also supports custom UIs that call Cognito APIs when branding and flow control matter. Teams should choose based on UX requirements rather than forcing one approach. Replacing Cognito with Basic Auth to DynamoDB or embedding IAM passwords in WebViews are incorrect patterns.