oauthmedium.com-publishing-api

Medium error connection with Oauth


I try to connect my website account on Medium (blog), via this URL:

https://medium.com/m/oauth/authorize?redirect_uri=https%3A%2F%2Fdomain.com%2Fnetworks%2Fmedium%2Fcallback&scope=basicProfile&response_type=code&client_id=7510274391b7

But, I get this Medium error:

We didn’t understand your request.

enter image description here


Solution

  • This error occurs when the redirect URL that included in the request above doesn't match with the URL in the Medium App created. Make sure that the redirect URL exact match with the URL in the Medium App corresponding to the URL in the ClientID you are using.