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

Pass Tailscale identity headers to destination service #136

Open
stevetrease opened this issue Jan 5, 2025 · 1 comment
Open

Pass Tailscale identity headers to destination service #136

stevetrease opened this issue Jan 5, 2025 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@stevetrease
Copy link
Contributor

stevetrease commented Jan 5, 2025

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
Tailscale Serve passes the identity headers so that the destination service can see the Tailscale user making the request.
https://tailscale.com/kb/1312/serve#identity-headers
It would be very useful if tsdproxy added and passed on the Tailscale-User-Login, Tailscale-User-Name and Tailscale-User-Profile-Pic headers.
To prevent identity spoofing I would suggest that any incoming requests are stripped of these headers before being passed to the destination service.

Describe alternatives you've considered
Return to using tailscale serve instead of tsdproxy.

Additional context
None.

@almeidapaulopt almeidapaulopt added the enhancement New feature or request label Jan 5, 2025
@almeidapaulopt almeidapaulopt moved this from Todo to In Progress in tsdproxy roadmap Jan 6, 2025
@almeidapaulopt almeidapaulopt modified the milestones: v1.5.0, v1.6.0 Jan 7, 2025
@almeidapaulopt almeidapaulopt moved this from In Progress to Todo in tsdproxy roadmap Jan 13, 2025
@stevetrease
Copy link
Contributor Author

As a further thought about making tsdproxy "Tailscale user aware" it would be useful to display the user's authenticated Tailscale user-name and/or user-login on the tsdproxy dashboard (in much the same way as many web properties show a user's informatrion top-right).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants