WordPress.com Toolbar: Make Sign Out action logout of WordPress.com#6791
WordPress.com Toolbar: Make Sign Out action logout of WordPress.com#6791dereksmart merged 2 commits intomasterfrom
Conversation
Previously, clicking on Sign out action would log out user only from his current Jetpack site, while the expected result would be to log them out of WordPress.com too.
53152ff to
c3b4118
Compare
|
I got the same thing than Jeremy. |
|
@jeherve @eliorivero I'm aware of those shortcomings of the current solution, but I'm not sure what would be the best way to overcome them.
Any suggestions on how to resolve this would be greatly appreciated. |
|
I can see several possible ways out of this:
|
@zinigor Not that I know of, and I'm fine with leaving it as is (logging out limited to self-hosted site). |
|
After giving it some more thought - this might make sense only for AT sites, and not for Jetpack sites in general. |
|
That blank page asking for confirmation to log out of WordPress.com is going to be confusing for some users. Maybe that can be stylized on WordPress.com side to look more like a WordPress.com legit page and not like an warning/error page? |
|
And also update the message. If we can package that action in a nice design, the users won't be confused. Right now since it has a design (or no design at all) completely different from the Jetpack UI or Calypso, it looks like an error page. An intentionally designed page will reduce the friction and will tell users they're in the right place. The button Sign Out is also a bit confusing in its label. It's not clear for users if it means sign out of the current site or WordPress.com. Users guessing it will only log them out of WordPress.com are in for a good surprise. And on the other side, users guessing it will log them out of the current site will also be surprised that they're redirected to log them out of WordPress.com. |
|
After discussing this with @lezama, I've added a new sync action that we can use to perform WP.com logout if necessary. We can decide if we want to do this for all Jetpack sites, or for AT sites only on WP.com side. |
|
Doesn't work for me, does it need a dotcom counterpart that hasn't been committed yet? |
|
@zinigor it does, I'm working on a diff for dotcom side ( |
|
@vindl for consistency, it should perform the same action in Jetpack and AT sites. |
|
@eliorivero roger that, that's how it works in proposed diff/PR. |
zinigor
left a comment
There was a problem hiding this comment.
Works like a charm together with the dotcom counterpart. I knew Sync was magic!
|
Works as expected |
…6791) * WordPress.com Toolbar: Sing out should affect dotcom account too Previously, clicking on Sign out action would log out user only from his current Jetpack site, while the expected result would be to log them out of WordPress.com too. * Add sync action to logout user from WP.com if necessary
|
Merged to 4.8 caea32b |

Previously,
Sign Outaction inMemenu was just signing out users from their current Jetpack site, and it should be signing them out of WP.com too.Test with:
D4938-code(deployed)Fixes #6490
Testing instructions:
Mesub-menu of WordPress.com Toolbar, click onSign Outbutton.