• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Recent change has broken remote logins that redirect to non-SSL pages

Recent change has broken remote logins that redirect to non-SSL pages

  • Unknown's avatar
    dinomacroweb · Member · Jun 2, 2014 at 9:18 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi,

    A recent code change at wordpress.com has broken remote logins that redirect to non-SSL pages. For example, our app remotely logs users into their accounts via the HTTPS page, and redirects to their Stats page (which is HTTP). The URL is in the following format:
    http://wordpress.com/#!/my-stats/?unit=1&blog=BLOG_ID&no-chrome

    However, in the last couple of days, your code changes mean that the user gets redirected to the wordpress.com homepage instead.

    From a browser, if a user is logged in but then tries to access the above-mentioned URL format manually, they are redirected to the HTTPS equivalent. Therefore, since this is a breaking change, and since there is no security risk by redirecting to a non-SSL page once logged in via HTTPS, could this please be resolved ASAP? This currently affects thousands of our users (ours and yours!), and it will take at least a couple of weeks before we can provide a fix as we are already trying to finish off a large release.

    Even if your redirect process detects that the page to be redirected to is HTTP rather than HTTPS, and corrects the URL accordingly (rather than redirect to the homepage) this would be considerably better than the current implementation which breaks this functionality for all our users.

  • Unknown's avatar
    dinomacroweb · Member · Jun 3, 2014 at 8:48 am
    • Copy link Copy link

    Hi,

    Any progress on this? We’re inundated by our users contacting us about this issue. With thousands of users, this could soon become a big problem for us both!

  • Unknown's avatar
    ievolver · Member · Jun 3, 2014 at 6:32 pm
    • Copy link Copy link

    We’re looking into this, stay put.

  • Unknown's avatar
    ievolver · Member · Jun 6, 2014 at 4:17 pm
    • Copy link Copy link

    Hey Dino,

    Unfortunately it’s not an easy fix and there are serious security concerns over patching it up. The answer has to be that you’ll have to update the BlogPadPro app to use the new URL directly. This was a breaking change for the official WordPress apps as well and they will be updated to use the new URL shortly as well.

    Sorry about the inconvenience and I hope you can get your update out quickly.

  • Unknown's avatar
    ievolver · Member · Jun 6, 2014 at 4:30 pm
    • Copy link Copy link

    A bit more information in the pull request for the app fix: https://github.com/wordpress-mobile/WordPress-iOS/pull/1816

  • Unknown's avatar
    dinomacroweb · Member · Jun 6, 2014 at 7:26 pm
    • Copy link Copy link

    Hi Isaac,

    I really don’t see why it’s a security concern, because we are using a secure way to log in to the Dashboard. It doesn’t matter if the page you then redirect to is a non-SSL page – depending on how you do it of course!

    It’s disappointing that we have to find out about this only when it has broken. Also, it’s not ideal that we *appear* to have let down our users, even though it is not us that made the breaking change.

  • Unknown's avatar
    jonathansadowski · Member · Jun 9, 2014 at 4:56 pm
    • Copy link Copy link

    Hey Dino,

    I understand your frustration. We ran into the same issue with the WordPress iOS app, as Isaac linked to in his previous post.

    We are now forcing SSL on all traffic to WordPress.com. Wherever possible, we’re redirecting non-SSL requests to the appropriate SSL pages. Unfortunately, both your application, and the WordPress iOS application were using older non-secure stats URLs that utilized URL fragments (also known as URL hash). Because the fragment portion of the URL never gets sent to the server with the request, we are sadly unable to redirect to the correct page.

    In other words, when you make a request to http://wordpress.com/#!/my-stats/?unit=1&blog=BLOG_ID&no-chrome our server only sees a request to http://wordpress.com/ and we then redirect you to https://wordpress.com/

    A request to http://wordpress.com/my-stats/?unit=1&blog=BLOG_ID&no-chrome would properly redirect to https://wordpress.com/my-stats/?unit=1&blog=BLOG_ID&no-chrome

    Note: some browsers (such as desktop Chrome), are smart enough to maintain the fragment despite the redirect. Unfortunately, Safari (both desktop and mobile), is not.

    Again, I’m very sorry about any issues this has caused. Please let me know if you have any other questions.

  • The topic ‘Recent change has broken remote logins that redirect to non-SSL pages’ is closed to new replies.

Tags

  • broken remote logins to non-ssl pages
  • http://
  • HTTPS
  • remote-login
  • SSL
  • Stats

About this topic

  • In: Support
  • 3 participants
  • 6 replies
  • Last activity 12 years
  • Latest reply from dinomacroweb

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions