When attempting to use the oauth2 flow, I authorize:
https://www.tumblr.com/oauth2/authorize?client_id=<client_id_redacted>&response_type=code&scope=basic&state=<state_redacted>&redirect_uri=<redacted_uri>
My redirect URI is exactly what's in place in my application config for both default callback and oauth2 redirect URLs. That works fine; I get my code and verify my state. Then I attempt a grant (as exemplified in https://www.tumblr.com/docs/en/api/v2#step-three-retrieve-an-access-token):
curl \
-F grant_type=authorization_code \
-F code=<code_redacted> \
-F client_id=<client_id_redacted> \
-F client_secret=<client_secret_redacted> \
https://api.tumblr.com/v2/oauth2/token
and then I get
{"error":"redirect_uri_mismatch","error_description":"The redirect URI is missing or do not match","error_uri":"http:\/\/tools.ietf.org\/html\/rfc6749#section-4.1.3"}
I'm really confused by this; the oauth redirect has already happened successfully (so I'm assuming that means Tumblr's happy with my redirect URI), but there's no redirect URI involved with redeeming my token for credentials... right?
Thanks for any help you can offer!
When attempting to use the oauth2 flow, I authorize:
https://www.tumblr.com/oauth2/authorize?client_id=<client_id_redacted>&response_type=code&scope=basic&state=<state_redacted>&redirect_uri=<redacted_uri>My redirect URI is exactly what's in place in my application config for both default callback and oauth2 redirect URLs. That works fine; I get my
codeand verify mystate. Then I attempt a grant (as exemplified in https://www.tumblr.com/docs/en/api/v2#step-three-retrieve-an-access-token):and then I get
{"error":"redirect_uri_mismatch","error_description":"The redirect URI is missing or do not match","error_uri":"http:\/\/tools.ietf.org\/html\/rfc6749#section-4.1.3"}I'm really confused by this; the oauth redirect has already happened successfully (so I'm assuming that means Tumblr's happy with my redirect URI), but there's no redirect URI involved with redeeming my token for credentials... right?
Thanks for any help you can offer!