Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tarang19's avatar

AWS cognito getting error on social login

I am using aws cognito (Amlify) for authorization part for social login login i am facing issue on actual side when i click on singing with google not get auth token from cognito giving me error of 400 and following error

{"__type":"ValidationException","message":"1 validation error detected: Value '{cognito-idp.ap-south-1.amazonaws.com/ap-south-1_NAZCqoylw=}' at 'logins' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]"}

But from localhost i am successfully able to login

anyone know what is the issue

0 likes
0 replies

Please or to participate in this conversation.