Edge case: user without a space can't sign out
MartinSoderholm opened this issue · 5 comments
Ok, so this is not a bug, just a stupid edge case that you did not consider and can be fixed easily.
I used Boost Note a few years ago when it was just a simple macOS app. I was about to write some stuff and thought I could pick up Boost Note again. When I hit the sign up page I chose to sign in using apple id. At this point I didn't know about spaces. After sign up I had to create a space, and faced with this choice I made one for my company. But after this I felt I wanted the admin account to also be my company email, so I sent an invitation in order to switch the admin user from the anonymous apple email to my company email. I then removed/deleted myself from the space. This resulted in a 404 message in the app, and there was nowhere to proceed. I pressed cmd + R, and the “Create Account” page is shown. When I click “Sign in” the app opens a browser window that shows me these options:
When I click “Open Desktop App” I am redirected to the “Create a new space” page:
But this is not what I want to do of course. I just want to sign out and sign in with my company email user. There is no “Sign out” button anywhere I can find. Not in the app and not on the website. At this point the only thing I can do is open the developer tools and clear all cookies, local storage, etc. So now I am signed out in the browser. I saw there was developer tools in the desktop app as well so I will try the same there (it worked).
Current behavior
A user without a space can't sign out.
Expected behavior
Expected to find “Sign out” buttons both in app and on website.
Steps to reproduce
See above.
Environment
macOS 11.6
Safari 15.0
Desktop/Web
- Boost Note.next version: 0.22.0
- OS version and name: macOS 11.6
Hi,
Did you try sign out button in context menu (right click)?
There should be one there.
Not sure if in menu there is one as well
I did not think to right click in the Desktop app, but even if I do nothing happens (outside of a space). If I am inside a space and right click you are right, a context menu appears with a Sign out option. But I was not in a space.
Hi,
I think right-click context menu should work when you go to Add space button in the menu. But this might be the case for non-released versions only.
But we do have a reorganization of the application login/log out and space selection, where you will be able to go to the welcome screen and Sign out as needed.
So I think this will fix the issue, since it adds a context menu Sign out as well as a link for Sign out as you can see on the above image.
So I think this will fix the issue, sorry for the trouble.
The only workaround I can think of, is to just create a space and sign out, or remove the account completely if not needed anymore - in space options.
You can maybe try going to the File menu and go to Preferences, if you can access these preferences there's should be a context menu sign-out button.
Ah, yes. That looks great and should solve the issue 👍 I understand this is not a priority, so thanks for your time.
Great,
It is already under development, so should be implemented soon enough.
Thank you for your patience.