pirmax
pirmax

Reputation: 2153

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

Upvotes: 1

Views: 388

Answers (2)

goodhyun
goodhyun

Reputation: 5002

It's not because of the redirect uri in our case. We haven't figure out the reason but if you load the same authorise request url again at that 400 message, Medium will just get you through. I know it's a hack, or a bug in their side. who knows.

Upvotes: 0

Sunil Vishnu Raskar
Sunil Vishnu Raskar

Reputation: 138

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.

Upvotes: 0

Related Questions