microdotblog / sunlit

Publish photos to your own blog — hosted by Micro.blog or compatible blogs using WordPress or Micropub — and discover beautiful photos from other users.
https://sunlit.io
MIT License
49 stars 7 forks source link

Signed out of Micro.blog but mentions and bookmarks tab still shows #133

Closed paulrobertlloyd closed 3 years ago

paulrobertlloyd commented 3 years ago

Signed out of Micro.blog, but the mentions and bookmarks tabs are still visible (although tapping on the icons in the tab bar or swiping to these view doesn’t take you to the respective screens). Sunlit 3.2 (379)

paulrobertlloyd commented 3 years ago

Oooh boy… restarting the app and find myself signed back into Micro.blog 🤪

cheesemaker commented 3 years ago

So the actual bug here is related to Micro.blog and Sunlit sharing logins in 3.2. I just ran into this with another issue as well and it's making me re-think the shared login.

paulrobertlloyd commented 3 years ago

Just for completeness… the profile tab shows also (which I think it does when signed out), but tapping on that tab doesn’t work either. There’s actually no discernible way to sign back in.

cheesemaker commented 3 years ago

Possible solutions:

  1. Don't share logins - this makes the first time use worse though
  2. Don't allow logging out of Micro.blog from within Sunlit? Or maybe there's an edge case where you can let them logout but only if they don't have the Micro.blog app on their device?
  3. Figure out how to totally clear the data, but the downside is that it would also log them out of the Micro.blog app which they might not have intended to do.

Not sure what the right approach here is. I really like how it improves the first-use experience for people that have already logged into Micro.blog

cheesemaker commented 3 years ago

@paulrobertlloyd if you completely delete Sunlit from your phone (not just the data) it should allow you to re-set everything up again. I just verified that locally.

cheesemaker commented 3 years ago

Ok, so this will be resolved in the next Beta. Basically, we have changed the logic to only import login information from Micro.blog once. After that, if you logout, you're on your own.

cheesemaker commented 3 years ago

When you can, please re-test this with the latest beta and let me know if we can close.

cheesemaker commented 3 years ago

This is fixed in 3.2 beta build 384