React Authenticator Social Login - redirect_mismatch

0

I am buiding an application with Amplify and React. I wanted to add the social login (Facebook and Google). However, when I try to click on the Facebook or Google buttons I get redirected to a link that has a qeury param error=redirect_mismatch and says An error was encountered with the requested page.

When I try the Test Endpoint of the Hosted UI for Cognito it works fine, but I get an error when I try to do it with the Authenticator Component.

I am using the following versions of the packages: "@aws-amplify/ui-react": "^4.6.0", "aws-amplify": "^5.0.20",

I also checked the callback urls under the App Integrations on Cognito, and they match the urls from where the login flow starts.

답변 없음

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

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

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

관련 콘텐츠