Description
I’m getting a Redirect URI mismatch error when trying to get an access token after getting the code. It’s probably because I misunderstood how redirect URI works. I tried the following:
Exact same URI as in app settings
Same URI that I provided in oauth/authorize call when getting the code
Maybe you could make the error message a bit clearer? I think something like Redirect URI (http://local.teamplify.net:8211/redirect/) mismatch - it must start with http://local.teamplify.net or https://teamplify.com would work.
Also, why is redirect_uri required in oauth/token anyway? Aren’t we supposed to just send post request and read the response body?
Happy to hear you got it working! We will work on making the error messaging more clear.
It is required so it validates what you have set in your OAuth app settings, and also allows you to redirect to different paths or sub domains dynamically.