Skip to content

fix(spore): set TS_ADVERTISE_TAGS for golink OAuth auth#448

Merged
stackptr merged 1 commit intomainfrom
spore/fix-golink-advertise-tags
Apr 15, 2026
Merged

fix(spore): set TS_ADVERTISE_TAGS for golink OAuth auth#448
stackptr merged 1 commit intomainfrom
spore/fix-golink-advertise-tags

Conversation

@stackptr
Copy link
Copy Markdown
Owner

@stackptr stackptr commented Apr 15, 2026

Summary

Upstream tailscale/golink defaults --advertise-tags to $TS_ADVERTISE_TAGS (empty if unset), whereas the previous fork (apoxy-dev/golink) hardcoded tag:golink as the default. With a wiped tsnet state and an OAuth client secret as the auth key, tsnet rejects authentication unless at least one tag is advertised.

Sets TS_ADVERTISE_TAGS=tag:golink in the golink systemd service environment so OAuth auth keys work without patching the binary.

Test plan

  • systemctl status golink on spore shows active (running)
  • go.note-iwato.ts.net is reachable on the tailnet

🤖 Generated with Claude Code

@stackptr stackptr marked this pull request as ready for review April 15, 2026 23:29
Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@stackptr stackptr enabled auto-merge (squash) April 15, 2026 23:30
@stackptr stackptr merged commit e987d4f into main Apr 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant