Skip to content

Commit

Permalink
docs: fix broken format on JWT (#2240)
Browse files Browse the repository at this point in the history
Signed-off-by: Ardika Bagus <me@ardikabs.com>
  • Loading branch information
ardikabs authored Nov 24, 2023
1 parent 73fbd62 commit dcc0ee0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion api/v1alpha1/jwt_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ package v1alpha1
type JWT struct {

// Providers defines the JSON Web Token (JWT) authentication provider type.
//
// When multiple JWT providers are specified, the JWT is considered valid if
// any of the providers successfully validate the JWT. For additional details,
// see https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/jwt_authn_filter.html.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ spec:
authentication.
properties:
providers:
description: "Providers defines the JSON Web Token (JWT) authentication
provider type. \n When multiple JWT providers are specified,
the JWT is considered valid if any of the providers successfully
validate the JWT. For additional details, see https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/jwt_authn_filter.html."
description: Providers defines the JSON Web Token (JWT) authentication
provider type. When multiple JWT providers are specified, the
JWT is considered valid if any of the providers successfully
validate the JWT. For additional details, see https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/jwt_authn_filter.html.
items:
description: JWTProvider defines how a JSON Web Token (JWT)
can be verified.
Expand Down
3 changes: 1 addition & 2 deletions site/content/en/latest/api/extension_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,7 @@ _Appears in:_

| Field | Description |
| --- | --- |
| `providers` _[JWTProvider](#jwtprovider) array_ | Providers defines the JSON Web Token (JWT) authentication provider type.
When multiple JWT providers are specified, the JWT is considered valid if any of the providers successfully validate the JWT. For additional details, see https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/jwt_authn_filter.html. |
| `providers` _[JWTProvider](#jwtprovider) array_ | Providers defines the JSON Web Token (JWT) authentication provider type. When multiple JWT providers are specified, the JWT is considered valid if any of the providers successfully validate the JWT. For additional details, see https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/jwt_authn_filter.html. |


#### JWTExtractor
Expand Down

0 comments on commit dcc0ee0

Please sign in to comment.