I'm getting this error Error 400: redirect_uri_mismatch
even after giving the proper redirect uri. You can check the images below for the reference. It works for my localhost but it shows this error for my server. My domain looks like https://xxx.topLevelDomain.com
. I'm not able to find the possible cause of this issue after surfing most of the issues related to this error. Although, I guess the issue maybe because I'm using a subdomain here, but still not sure if its the issue.
Application info:
- frontend is in react hosted on
https://someTopLevelDomain.com
- backend is in spring boot hosted on
https://someSubdomain.someTopLevelDomain.com