From 5b880e97f68214224a1173d4a759d00e94bb4cb4 Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Tue, 29 Oct 2024 19:42:09 +0100 Subject: [PATCH] docs: update example of configurations --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 587aa19..e0faf8c 100644 --- a/README.md +++ b/README.md @@ -189,22 +189,22 @@ gateway: - path: /user # Rules defines which specific middleware applies to a route path rules: - - basic-auth + - basic-auth #Middleware name # path to protect - path: /path-example # Rules defines which specific middleware applies to a route path rules: - - jwtAuth + - jwt #Middleware name # path to protect - path: /admin # Rules defines which specific middleware applies to a route path rules: - - basic-auth + - basic-auth #Middleware name # path to protect - path: /path-example # Rules defines which specific middleware applies to a route path rules: - - jwtAuth + - jwt # Middleware name - path: /history http: url: http://security-service:8080/security/authUser @@ -236,14 +236,14 @@ gateway: #Defines proxy middlewares middlewares: # Enable Basic auth authorization based - - name: local-auth-basic + - name: basic-auth # Authentication types | jwtAuth, basicAuth, auth0 type: basicAuth rule: username: admin password: admin #Enables JWT authorization based on the result of a request and continues the request. - - name: google-auth + - name: jwt # Authentication types | jwtAuth, basicAuth, OAuth # jwt authorization based on the result of backend's response and continue the request when the client is authorized type: jwtAuth