User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
go:jwt [2020-05-27 22:16]
ziggi
go:jwt [2020-05-27 22:17] (current)
ziggi
Line 24: Line 24:
  
     token1 := jwt.New()     token1 := jwt.New()
 +    token1.Set(jwt.IssuerKey,​ "​Issuer"​)
     token1.Set(jwt.SubjectKey,​ "​SubjectKey"​)     token1.Set(jwt.SubjectKey,​ "​SubjectKey"​)
     token1.Set(jwt.AudienceKey,​ "​AudienceKey"​)     token1.Set(jwt.AudienceKey,​ "​AudienceKey"​)