Skip to content

Commit

Permalink
fix: use athenticated svc id a subject claim
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Apr 2, 2024
1 parent cab09cd commit c8d004f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (a *Authenticator) issueJwt(authenticatedSvc string, readURIs []string) (st
IssuedAt: now.Unix(),
Issuer: a.serviceID,
NotBefore: now.Unix(),
Subject: a.serviceID,
Subject: authenticatedSvc,
},
Can: Permissions{
Read: readURIs,
Expand Down

0 comments on commit c8d004f

Please sign in to comment.