As of now (Nov '24), the redirect URIs can be set in the new AWS Congnito UI by doing the following:
Amazon Cognito > User pools > [ your_user_pool ] > App clients > App client: [ your_client ]
Login pages
tab on the overview pageEdit
in the Managed login pages configuration
panlocalhost:3000
during development but don't intend to leave it there for prod)