add expiration from OIDC token to machine

This commit is contained in:
Even Holthe 2022-12-15 01:10:26 +01:00 committed by Kristoffer Dalby
parent 4e2c4f92d3
commit 7157e14aff
3 changed files with 9 additions and 1 deletions

View file

@ -176,6 +176,7 @@ func (api headscaleV1APIServer) RegisterMachine(
machine, err := api.h.RegisterMachineFromAuthCallback(
request.GetKey(),
request.GetNamespace(),
nil,
RegisterMethodCLI,
)
if err != nil {