Skip to content

Commit

Permalink
feat: mark raw identity tokens as redacted
Browse files Browse the repository at this point in the history
  • Loading branch information
odsod committed Oct 17, 2024
1 parent 45b26bb commit 404468a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion proto/einride/iam/v1/identity_token.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package einride.iam.v1;
// A JWT identity token.
message IdentityToken {
// The raw token value.
string raw = 1;
string raw = 1 [debug_redact = true];
// The "iss" claim identifies the principal that issued the JWT.
// The processing of this claim is generally application specific.
// The "iss" value is a case-sensitive string containing a string or URI value.
Expand Down
44 changes: 22 additions & 22 deletions proto/gen/einride/iam/v1/identity_token.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 404468a

Please sign in to comment.