Links to Hub from WPMUDEV Dashboard are effectively broken unless already signed in to wpmudev.org

Hi, so this is maybe not really a 'bug' I guess, perhaps more of a UX issue...

Basically, if I'm not already logged in to wpmudev.org the dashboard links are non-functional for intended use of being a handy link to my hub... its actually quite annoying (esp bcs not opened in new tab).

There are three links from WPMUDEV Dashboard plugin UI to non-public pages that redirect badly if visited directly when not already logged in --> by badly, I mean that the browser hangs for ~45 seconds until it finally is redirected to a publicly accessible page (https://premium.wpmudev.org/hub-welcome/)... this is extra annoying bcs the links are not made to open in a new tab/window by default.

Links locations in dashboard:
At network/admin.php?page=wpmudev-support
- the 'View All' button links to https://premium.wpmudev.org/hub/support/

At network/admin.php?page=wpmudev
- the 'Go To My Hub' button links to https://premium.wpmudev.org/hub/
- the arrow button for 'The Hub' links to https://premium.wpmudev.org/hub/
- the arrow button for 'Support' links to https://premium.wpmudev.org/hub/support/
- the arrow button for 'Community' links to https://premium.wpmudev.org/hub/community/

So, I ran the above link targets through webpagetest.org
https://www.webpagetest.org/result/180430_0V_c9bfd952b74afc78dba4923d43cd5fa7/
https://www.webpagetest.org/result/180430_VG_3f1c1c17d3fabacdbd6b070fa10a4d7a/
https://www.webpagetest.org/result/180430_ZP_db85c8bd53dd578d554959dac1a7827e/

...and they all show same thing:
hanging at an intermediary redirect to /account/
before getting finally kicked to /hub-welcome/

...interestingly, I tried appending arbitrary characters like
https://premium.wpmudev.org/hub/support/d
which for whatever reason doesn't get hung, instead redirects quickly to
https://premium.wpmudev.org/pro/daniel-cotugno-cregin/
so there is obviously something not quite right in how the redirects are being handled for the various non-public URLs - at least, if those URLs are going to be included in a product where it is unknown if the user is currently logged in to wpmudev.org in the same browser they are using to access their WP.
(also, imo, way better to open links in new tab)

Cheers, Max

  • Adam Czajczyk
    • Support Gorilla

    Hello wp.network

    I hope you're fine today and thank you for reporting this!

    Those links are not supposed to "automatically log you in" to The Hub, that's for security reasons.

    However, I followed your post and I can confirm the redirect issue.

    That seems to be a "new thing" and I suppose it might be related to the changes that we recently made to The Hub and WPMU DEV Dashboard plugin. I have already forwarded this to our developers so they could check this.

    Best regards,
    Adam

    • wp.network
      • The Bug Hunter

      Adam Czajczyk thanks for the response :slight_smile:

      Those links are not supposed to "automatically log you in" to The Hub, that's for security reasons.

      Yeah, I never thought they were supposed to ""automatically log you in"" to The Hub...

      the dashboard links are non-functional for intended use of being a handy link to my hub

      I say that they are effectively broken in the sense that they seem intended to be useful/timesaver type links and in current form unless one is already signed in to wpmudev.org in same browser they do not save time or make getting to The Hub easier - in fact, they make it harder (esp bcs they don't open in new tab) bcs they make the browser hang.

      Cheers, Max

  • Adam Czajczyk
    • Support Gorilla

    Hello Max!

    Yes, it does look like the "browser got stuck", I could replicate that and I agree that's not good "user experience". Like I said, I've already reported this and our developers will look into it so hopefully they'll find a way to sort that out :slight_smile:

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.