Matt Lopez
Results
1
comments of
Matt Lopez
trafficstars
This is how I was able to solve the "key is invalid" error for ES256 encryption: ` privateKey := "YOU-PRIVATE-KEY" atClaims := jwt.MapClaims{} atClaims["exp"] = json.Number(strconv.FormatInt(time.Now().Add(time.Minute*15).Unix(), 10)) atClaims["aud"] = "Audience"...