tailscale-android icon indicating copy to clipboard operation
tailscale-android copied to clipboard

Login with custom server & preauth key

Open cmueller-tp opened this issue 1 year ago • 6 comments

Hi! This is just a hacky PoC - works but not prod ready (I'm not a Kotlin dev).

As I see it there are 2 general options to accomplish this:

  1. adding another entry in the menu with another menu to enter both
  2. unifying the menus with default URL and optional preauth key (kind of what I did but what I currently have does only work with both)

What do you think?

cmueller-tp avatar Sep 21 '24 11:09 cmueller-tp

Thank you for the contribution. We will discuss this with our UX design team to decide the correct location and flow for this feature.

cc @sonovawolf @kari-ts

agottardo avatar Sep 22 '24 22:09 agottardo

Let me know if the suggested flow is to your liking, I can do a quick implementation of the intended behavior, if that helps.

cmueller-tp avatar Sep 23 '24 19:09 cmueller-tp

What do you think about logging in via a token that consists of the preauth key and a server URI optionally encoded in a QR code? That would make logging in via smartphone very convenient and seamless for users and would also come in handy for onboarding servers with just a single token (b64) that needs to be copied over to the client.

cmueller-tp avatar Oct 03 '24 13:10 cmueller-tp

any news bout this PR @agottardo. Or any solution if I have custom server, because I want to login with tailscale and I don't have the option in android :(

Thanks

SoyDiego avatar Oct 07 '25 09:10 SoyDiego

Same problem here...

lsadehaan avatar Nov 11 '25 00:11 lsadehaan

This would be a very important feature for usability for end users that are not in possession of advanced digital literacy. I tried that on ios, perfect. On android, no chance, only normal login, requiring manual work on the custom server (e.g. headscale) or auth key login on the main tailscale server.

gandhiano avatar Nov 27 '25 18:11 gandhiano