fix: Override sub with federated_claims.user_id when dex is used #36714
Annotations
8 errors
Compile all packages:
util/oidc/oidc.go#L556
cannot use jwt.RegisteredClaims{…} (value of type "github.com/golang-jwt/jwt/v5".RegisteredClaims) as "github.com/golang-jwt/jwt/v4".RegisteredClaims value in struct literal
|
Compile all packages:
util/oidc/oidc.go#L559
cannot use actualClaims (variable of type "github.com/golang-jwt/jwt/v5".MapClaims) as "github.com/golang-jwt/jwt/v4".MapClaims value in argument to utils.GetFederatedClaims
|
Compile all packages:
util/oidc/oidc.go#L698
cannot use jwt.RegisteredClaims{…} (value of type "github.com/golang-jwt/jwt/v5".RegisteredClaims) as "github.com/golang-jwt/jwt/v4".RegisteredClaims value in struct literal
|
Compile all packages:
util/oidc/oidc.go#L701
cannot use claims (variable of type "github.com/golang-jwt/jwt/v5".MapClaims) as "github.com/golang-jwt/jwt/v4".MapClaims value in argument to utils.GetFederatedClaims
|
Compile all packages:
util/oidc/oidc.go#L710
cannot use jwt.RegisteredClaims{…} (value of type "github.com/golang-jwt/jwt/v5".RegisteredClaims) as "github.com/golang-jwt/jwt/v4".RegisteredClaims value in struct literal
|
Compile all packages:
util/oidc/oidc.go#L713
cannot use claims (variable of type "github.com/golang-jwt/jwt/v5".MapClaims) as "github.com/golang-jwt/jwt/v4".MapClaims value in argument to utils.GetFederatedClaims
|
Compile all packages:
util/rbac/rbac.go#L260
cannot use jwt.RegisteredClaims{…} (value of type "github.com/golang-jwt/jwt/v5".RegisteredClaims) as "github.com/golang-jwt/jwt/v4".RegisteredClaims value in struct literal
|
Compile all packages
Process completed with exit code 2.
|
Loading