tailscale / tailscale-client-go

A client implementation for the Tailscale HTTP API
MIT License
61 stars 27 forks source link

Add support for OAuth client credentials #44

Closed clstokes closed 1 year ago

clstokes commented 1 year ago

What this PR does / why we need it:

Allows configuring the tailscale client with OAuth Client ID and OAuth Client. On instantiation the Client will generate a new API key against the Tailscale OAuth token endpoint.

Which issue this PR fixes:

Fixes #42

clstokes commented 1 year ago

@knyar @willnorris I believe this is ready for another review.

clstokes commented 1 year ago

@knyar @willnorris, mind giving this another look?

clstokes commented 1 year ago

For those following along I rebased and squashed my commits here to sign and signoff on the commits to pass the commit signature verification requirement.