Skip to content

Commit

Permalink
Add BuildInfo to signed identity (#17)
Browse files Browse the repository at this point in the history
Co-authored-by: Lincoln Bergeson <lincoln@replit.com>
  • Loading branch information
lincoln-replit and Lincoln Bergeson authored Mar 18, 2023
1 parent 099bb05 commit b2c4ab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func (a *SigningAuthority) Sign(audience string) (string, error) {
Aud: audience,
OriginReplid: a.identity.OriginReplid,
UserId: a.identity.UserId,
BuildInfo: a.identity.BuildInfo,
}

token, err := signIdentity(a.privateKey, a.signingAuthority, &replIdentity)
Expand Down

0 comments on commit b2c4ab4

Please sign in to comment.