iosauthenticationoauthpinterest

Pinterest OAuth API not redirecting?


I've been using the Pinterest REST API in an iOS app. I use an embedded UIWebView and start the auth process by loading this URL (client_id and redirect_uri values edited):

https://api.pinterest.com/oauth/
?client_id=1234567890
&scope=read_public,read_relationships
&redirect_uri=https%3A%2F%mysite.com%2Foauth%2Fpinterest
&state=E95D914D-78B5-4E16-B8AA-8BD0774CC347
&response_type=code

This has worked fine until recently. Now, the Pinterest login page is displayed, but after logging in, I'm being redirected to https://www.pinterest.com, not my redirect_uri. I've double-checked that the URI matches in my app configuration on https://developers.pinterest.com.

I've also tried it using Paw, with the same result.

It's as if the OAuth context is being ignored, and it's just being treated as a normal web login. Is anyone else seeing this?


Solution

  • The problem appears to have been fixed at the server end.