Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
Signed-off-by: Kuat Yessenov <[email protected]>
  • Loading branch information
kyessenov committed Oct 24, 2023
1 parent 6810fbc commit ba7b7b3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions api/envoy/extensions/filters/http/jwt_authn/v3/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,12 @@ message JwtProvider {

// Alters the payload representation in the request dynamic metadata to facilitate its use in matching.
message NormalizePayload {
// Converts the space delimited claims into lists of string, e.g. ``"email
// profile"`` is translated to ``["email", "profile"]``. For example,
// ``scope`` claim requires this normalization per `RFC8693
// Each claim in this list will be interpreted as a space-delimited string
// and converted to a list of strings based on the delimited values.
// Example: a token with a claim ``scopes: "email profile"`` is translated
// to dynamic metadata ``scopes: ["email", "profile"]`` if this field is
// set value ``["scopes"]``. This special handling of ``scopes`` is
// recommended by `RFC8693
// <https://datatracker.ietf.org/doc/html/rfc8693#name-scope-scopes-claim>`_.
repeated string space_delimited_claims = 1;
}
Expand Down

0 comments on commit ba7b7b3

Please sign in to comment.