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.
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).”