-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndieAuth auth code verification fails for Bridgy #2110
Comments
I've added some extra logging to this, so that hopefully we can pin down what is actually causing the error. This includes a better return message, plus some logging on the server. |
Wow, so I just found out what broke it. Not exactly why or how, but at least what. After reporting the issue with brid.gy login I recently also started to run into issues with just logging in on my own site itself. However, using a private browsing window it still worked. Then I updated Known and checked the logs, which contained a similar error about a token being invalid:
This lead me to investigate my browser extensions, which I didn't suspect at first because they would usually just mess with JavaScript, and I couldn't see how Known's login would depend on JS. However, I found this non-descriptive new feature in Ghostery (lower left corner): I found this, because Ghostery said it blocked 1 tracker, even though my personal site is not using any kind of tracker or external widget. Upon pressing this button to deactivate the feature, it showed me that now it is not blocking any trackers anymore, and after reloading I could both log in to my site as well as connect brid.gy without a problem. Now, as I said, I have no idea what token is meant there and how and why an extension would be able to mess with it, but it seems to me like this Ghostery feature could modify cookies that it perceives as tracking cookie or something. So, I guess the moral of the story is to investigate extensions first, then open issues on GitHub later. But this could still be helpful information for anyone running into this issue after me in the future, of course. So thank you all very much for helping, and also for adding the extended logging there. I'm sure it won't hurt. And sorry for not trying this in a clean browser window before reporting the issue! 😊 |
wow, thanks for the detailed sleuthing @skddc! glad you figured it out. |
cross posting here from snarfed/bridgy#809 (comment) . we don't yet know if this is a bridgy bug, a known bug, or something else altogether. there's some discussion there (further down) about single user mode and home page vs user profile URLs, but no conclusion yet. cc @mapkyca @skddc. thanks in advance for looking!
While trying to do this:
Open https://brid.gy/ , click the Instagram button (you won't need an Instagram account), enter a Known site's URL into the IndieAuth box, and try to log in with IndieAuth.
I encountered this error:
bridgy redirects to known like this:
known then redirects back to bridgy with an auth code:
bridgy tries to verify the auth code:
Known responds:
i tried this simpler verification request, without the escaping or the non-standard
me
andstate
parameters, and it gets the same result:Some other notes:
The text was updated successfully, but these errors were encountered: