diff --git a/internal/handlers/oidc.go b/internal/handlers/oidc.go index 7c650939..9501512d 100644 --- a/internal/handlers/oidc.go +++ b/internal/handlers/oidc.go @@ -100,7 +100,10 @@ func newDefaultOIDCSession(ctx *middlewares.AutheliaCtx) (session *openid.Defaul Extra: make(map[string]interface{}), }, Headers: &jwt.Headers{ - Extra: make(map[string]interface{}), + Extra: map[string]interface{}{ + // TODO: Obtain this from the active keys when we implement key rotation. + "kid": "main-key", + }, }, }, err }