Auth0 Home Blog Docs

Origin_mismatch, "the redirect The redirectUri's origin

jwt
auth0

#1

Since I’ve added silent authentication to my react app, I’m getting this error when fetching the user’s profile: "The redirectUri’s origin (https://.com) should match the window’s origin (https://www..com)."

The difference in the URLs is just a www. How can I fix this? It also seems to only have started occurring when i increased the localstorage expires_at parameter.


#2

I didn’t past the error in correctly. Sorry (looks like I can’t edit). It should be: "
error : “origin_mismatch”
error_description : “The redirectUri’s origin (https://.com) should match the window’s origin (https://www..com).”


#3

oh, it’s just removing the part where I put a fake domain name in <>. so it’s my domain name before the '.com’s