I’m framing this question vis-a-vi Automatic and Jetpack, but I think it’s about something I don’t personally understand that is happening in a WordPress context, so I’m posting here. It’s not about Automatic though, this could be any general case. So bear with me...
My hypothesis is that Automatic / Jetpack has an inhearently insecure auth system, so I expect someone here to tell me what I don’t understand, assuming I’m wrong.
There are Auth / Signon plugins for many sites to use a particular network’s auth creds to login to another one. For instance, you can login to bitbucket.org with your google.com credentials like this:
When you click the signon button, you get redirected by a modal to google.com, where you enter your password. Then google authorizes your login to the client site, WITHOUT EVER GIVING YOUR PASSWORD TO THE CLIENT SITE. In other words, when I login like this, bitbucket.org has no way to actually get my password unless my browser or the network has been compromised somehow. Many sites have this, facebook, yahoo, AOL etc.
Contrast to this login technique which I noticed on sites like
digest.bps.org.uk
jetpack.com
Which I understand to be fully qualified domains hosted by automatic, or at least sites using the jetpack product. I don't use either so I'm not sure...
When I try to make a comment on jetpack.com, I am prompted for my WordPress.com password FROM THE JETPACK.COM domain. I'm not re-directed to wordpress.com or gravatar.com . Yet, I am logged in if the password is correct.
My understanding of these auth systems used is that the SSL cert being green, is the method by which the user can confirm that the site they are dealing with can be trusted, as long as the domain is confirmed. You can log in to bitbucket.org with your google.com creds, because when you are asked for them, the browser says "google.com" at the top, not some random site. What is to stop me from setting up blogs all day on random domains, ask for wordpress.com creds, automatically check them, and then signon the user if the creds are good, and then steal them myself? Please explain to me why this isn't a massive security flaw?