From a9db0d01de625302a56b2b64eb2ef28054268e99 Mon Sep 17 00:00:00 2001 From: Alex Zgabur Date: Thu, 9 May 2024 18:07:42 +0200 Subject: [PATCH] Fix oidc url example and typos --- doc/generate-kuadrant-auth-policy.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/generate-kuadrant-auth-policy.md b/doc/generate-kuadrant-auth-policy.md index f79b8ca..96030f9 100644 --- a/doc/generate-kuadrant-auth-policy.md +++ b/doc/generate-kuadrant-auth-policy.md @@ -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: @@ -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 @@ -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: @@ -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