אפליקציית iOS: לא מצליח להשלים את תהליך החיבור

סיכום מבוסס בינה מלאכותית

The user gingerbeardman reports an issue with the iOS app where the Connect button leads to a broken login form instead of the authorize screen, even when already logged in. The problem persists across app reinstalls and forum re-adds. pmusaraj investigates and suggests that the issue may stem from a mismatch in sessions between the webview and the special Safari session used by the Connect feature. gingerbeardman resolves the issue by logging into the site via Safari first, which bypasses the broken login form, revealing that a content blocker (likely 1Blocker) was interfering with the login form elements. pmusaraj notes the possibility of the blocker catching specific classes or IDs in the login form, especially since the affected site lacks social logins.

  1. Connect buttons leads to an incomplete login form rather than the authorise screen.

  2. I can tap outside of the Connect button and get to the site and login without issue.

  3. Connect button still shown even though I’m logged into a forum.

Tried with no change to behaviour

  • deleting and re-adding the forum in question
  • uninstall and reinstall discourse hub app

iPhone SE 2020
iOS 14.8.1

This evening all my forums showed a Connect button. Did somebody flick a switch?

I could complete the connect flow on all bar the forum shown above.

I deleted the app to start again. Same problem!

Perhaps the site in question is running an old version of discourse that is incompatible with the connect feature of the current app?

HELP

I’m going to take a look shortly. It does look like a problem with that specific site, but will see.

2 לייקים

Thanks. Have rejigged my initial post.

I can’t reproduce your issue on iOS 15 (iPhone 11 Pro). Something unusual is happening on this moment of your video:

Normally, you should see the login form there.

You can also try logging in to that site in Safari and then using the Connect button (you should be already logged in, thus skipping the broken login form).

Yes it’s odd I expect the authorize screen but get a broken login.

I’m not sure I understand your final recommendation? In the video I’m already logged in and the connect button does not disappear.

Login state makes no difference to the missing authorize screen and broken login box.

There are two separate sessions: the one for the site loaded in the webview, and the one loaded by the Connect button, which uses a special Safari session (via ASWebAuthenticationSession). So, even if you’re logged in to the site in the DiscourseHub webview, you won’t be logged into it once you click Connect.

So, the suggestion is this: open Safari and login to the site. Then, switch to DiscourseHub and click Connect. Hopefully then you will be in the Authorize step (because Safari’s logged in session means you are logged in to the site for the special view invoked by Connect).

Thanks! That did indeed work.

It seems that part of the login panel was blocked by my content blocker. :man_facepalming: I could deactivate that briefly in Safari.

Interesting that the authenticate page was never seen.

Oh, wow. What content blocker are you using? Maybe it’s catching some class or ID in our login form? IIRC, the board game site does not have any social logins.

I’m using 1Blocker but it’s probably a custom rule I have for hiding an element. I’ll check and isolate it.

לייק 1

This topic was automatically closed after 40 hours. New replies are no longer allowed.