Skip to content

Commit

Permalink
Hotfix/add kid (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbampalikis authored Apr 12, 2024
2 parents 2700090 + 057054a commit 53ebf35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/uppmax-integration/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ image:
repository: harbor.nbis.se/uppmax/integration
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "0.1.2"
tag: "2024-04-03"

imagePullSecrets: []
nameOverride: ""
Expand Down
1 change: 1 addition & 0 deletions token/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func createECToken(key *ecdsa.PrivateKey, username string) (string, error) {
token := jwt.New(jwt.SigningMethodES256)
// token headers
token.Header["alg"] = "ES256"
token.Header["kid"] = "sda"
// token claims
claims := make(jwt.MapClaims)
claims["iss"] = helpers.Config.Iss
Expand Down

0 comments on commit 53ebf35

Please sign in to comment.