Followed this guide to setup auth with cognito and Google social login via Web3Auth. The Hosted Cognito UI seams to work correctly and I am able to be log in with a google account and then get redirected.
However I am getting this error when attempting to login with the web3auth react demo app.
“An error was encountered with the requested page.” on the cognito url https://w3a-auth-demo.auth.us-west-1.amazoncognito.com/error?error=redirect_mismatch&client_id=2uf5s8evhrk02fnpl9el2r0kod
as you can see the URL itself has this error_code redirect_mismatch
There is also this error being thrown in the console which may be unrelated
[Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: “script-src https://d1owsou015wajw.cloudfront.net https://w3a-auth-demo.auth.us-west-1.amazoncognito.com”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-fWEffNYGDN+XQ+YrsU/LKDZAnOcnSlra1fOIm+7oskM=’), or a nonce (‘nonce-…’) is required to enable inline execution.