Goodreads Developers discussion

57 views
bugs > Broken OAuth on iOS with official Goodreads app installed

Comments Showing 1-5 of 5 (5 new)    post a comment »
dateUp arrow    newest »

message 1: by Michał (new)

Michał Śmiałko | 2 comments Hi folks,
I'm going nuts here as I can't make the OAuth work reliably on iOS.
Here's the flow:
1. I present Safari with goodreads sign-in page
2. I choose to authenticate with Facebook
3. Then instead of getting auth callback, iOS opens Goodreads app that I have installed on my phone. When it's launched, I get stucked on that screen:
https://www.dropbox.com/s/yvjuqhsly9z...

I'm using OAuthSwift lib and my code is pretty much the same as in this example:
https://gist.github.com/Protome/96756...

Any idea how to fix that? :<


message 2: by Stefan (new)

Stefan | 1 comments Hi everyone,

I'm in a similar situation with OAuth flow breaking when iOS app is installed. It opens and shows an error message for me.

When looking at Goodreads 'apple-app-site-association' file I noticed that many user flow URLs like '/user/sign_in' or '/user/new' are excluded from getting opened in the app.

I suspect that Goodreads forgot to exclude '/oauth/authorize' in that list.

I don't know if any developers read here, but this looks like an easy fix.


message 3: by Michał (new)

Michał Śmiałko | 2 comments 🤷‍♂️
Anyone know how to get a more direct contact to developers behind it?


message 4: by Kinghm10 (new)

Kinghm10 | 2 comments same problem. anyone from Goodreads side can fix this
?


Notorious_Reader | 2 comments Been facing this issue for several months. We've just told our users to authenticate with the mobile website instead of the iOS app. That seems to work for now.


back to top