Skip to content

Commit

Permalink
Fix oidc url example and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
azgabur committed May 9, 2024
1 parent 2efa953 commit a9db0d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/generate-kuadrant-auth-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ components:
securitySchemes:
securedDog:
type: openIdConnect
openIdConnectUrl: https://example.com/.well-known/openid-configuration
openIdConnectUrl: https://sso.example.com/auth/realms/petstore
```
Take this example and save it as `example.yaml` and than run the command:
Expand All @@ -51,7 +51,7 @@ Take this example and save it as `example.yaml` and than run the command:
kuadrantctl generate kuadrant authpolicy --oas example.yaml
```

The generated authpolicy (only relevan fields shown here):
The generated authpolicy (only relevant fields shown here):

```yaml
kind: AuthPolicy
Expand All @@ -68,7 +68,7 @@ spec:
getDog_securedDog:
credentials: {}
jwt:
issuerUrl: https://example.com/.well-known/openid-configuration
issuerUrl: https://sso.example.com/auth/realms/petstore
routeSelectors:
- matches:
- path:
Expand Down Expand Up @@ -109,7 +109,7 @@ Take this example and save it as `example.yaml` and than run the command:
kuadrantctl generate kuadrant authpolicy --oas example.yaml
```

The generated authpolicy (only relevan fields shown here):
The generated authpolicy (only relevant fields shown here):

```yaml
kind: AuthPolicy
Expand Down

0 comments on commit a9db0d0

Please sign in to comment.