Skip to content

Commit 2173d92

Browse files
committed
changelog: note OAuth clients and scopes
1 parent 776a0bb commit 2173d92

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ HTTP API directly.
1414

1515
[#3324](https://github.com/juanfont/headscale/pull/3324)
1616

17+
### OAuth clients and scopes for the v2 API
18+
19+
The v2 API now supports OAuth 2.0 client-credentials, the way the Tailscale
20+
ecosystem authenticates. OAuth clients are created as `keyType:"client"` on the
21+
keys endpoint and mint short-lived, scope-limited access tokens at
22+
`/api/v2/oauth/token`; operations are enforced against the token's scopes, and
23+
the auth keys a token mints are restricted to its tags or tags those own. The
24+
`headscale oauthclients` command manages them from the CLI. This lets the
25+
Tailscale Terraform provider and Kubernetes operator drive Headscale unchanged.
26+
Admin API keys remain all-access.
27+
28+
[#3334](https://github.com/juanfont/headscale/pull/3334)
29+
1730
### BREAKING
1831

1932
#### API

0 commit comments

Comments
 (0)