headscale/hscontrol/types
fen4o 9d58489903 Add OIDC claim names options
Some identity providers (auth0 for example) do not allow to set the
groups claims and administrators must use custom claims names and add
them in the id token.

This commit adds the following configuration options:

- `oidc.groups_claim` to set the groups claim name
- `oidc.email_claim` to set the email claim name

All claims default to the previous values for backwards compatibility.

The groups claim can now also accept `[]string` or `string` as some
providers might return only a string response instead of array.
2023-11-08 16:00:07 +02:00
..
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go Rename Machine to Node (#1553) 2023-09-24 06:42:05 -05:00
config.go Add OIDC claim names options 2023-11-08 16:00:07 +02:00
const.go fix lint 2023-06-08 16:34:15 +02:00
node.go Set online status in lite requests (#1555) 2023-09-25 14:27:14 -07:00
node_test.go Rename Machine to Node (#1553) 2023-09-24 06:42:05 -05:00
preauth_key.go Split code into modules 2023-05-26 12:24:50 +02:00
routes.go Rename Machine to Node (#1553) 2023-09-24 06:42:05 -05:00
users.go Upgrade Go 1.21, Tailscale 1.50 and add Capability version support (#1563) 2023-09-28 12:33:53 -07:00