- Newest
- Most votes
- Most comments
According to the documentation, Portuguese (Brazil) is actually supported in Amazon Cognito's managed login through the lang query parameter. The language code for Portuguese (Brazil) is pt-BR and it is listed among the available languages for managed login localization.
To use Portuguese (Brazil) localization in your managed login pages, you would add the lang=pt-BR parameter to your authorization URL, like this:
https://<your domain>/oauth2/authorize?lang=pt-BR&response_type=code&client_id=<your app client id>&redirect_uri=<your relying-party url>
After a user makes a request with this parameter, Amazon Cognito sets a cookie in their browser with their language preference. This preference will persist until they clear their cookies or make a new request with a different language parameter.
It's important to note that localization is only available for managed login, and you must be on the Essentials or Plus feature plan and have assigned your domain to use managed login branding.
If you're experiencing issues with the pt-BR parameter not working as expected, it might be worth verifying your configuration or reaching out to AWS support, as the documentation explicitly lists Portuguese (Brazil) as a supported language.
Sources
User pool managed login - Amazon Cognito
Relevant content
asked 8 years ago
- AWS OFFICIALUpdated 11 days ago
- AWS OFFICIALUpdated a year ago
