Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discussion: Add support for username-based localIDs #392

Open
3 tasks done
onkoe opened this issue Jun 11, 2024 · 0 comments
Open
3 tasks done

discussion: Add support for username-based localIDs #392

onkoe opened this issue Jun 11, 2024 · 0 comments

Comments

@onkoe
Copy link

onkoe commented Jun 11, 2024

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

Hi there! I have a technical idea about the current URL navigation. This discusses the implementation side of a feature request I'll be posting shortly. :)

When navigating to any Proton service, the URL goes through a few authentication layers. It eventually ends up at the user's selected site, with a local user identifier (localID) at the end. For example, my Proton Mail currently specifies the following on my primary account: https://mail.proton.me/u/45/inbox

In the past, I was able to bookmark these for quick access to my e-mail, but for some reason, the IDs seem more volatile these days. They now use larger numbers instead of 0, 1, 2, and so on. While bookmarking via localID isn't entirely bad, the IDs change per browser/device and order you sign in, so it was never a great solution.

Instead, an easy implementation for a bookmark redirect would be to place the Proton username in the ID's place. For example, https://mail.proton.me/u/onkoe/inbox would be excellent! On the other hand, this would cause collisions with the new proton.me scheme, so a full email address may be appropriate.

In any case, I hope to hear your thoughts on this implementation. Thanks for your hard work on the project! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant