Alanxtl commented on code in PR #125:
URL: 
https://github.com/apache/dubbo-go-pixiu-samples/pull/125#discussion_r2952405587


##########
dubbogo/simple/saml/pixiu/conf.yaml:
##########
@@ -0,0 +1,71 @@
+---
+static_resources:
+  listeners:
+    - name: "net/http"
+      address:
+        socket_address:
+          protocol_type: "HTTP"
+          address: "0.0.0.0"
+          port: 8888
+      filter_chains:
+        filters:
+          - name: dgp.filter.httpconnectionmanager
+            config:
+              route_config:
+                routes:
+                  - match:
+                      prefix: /health
+                    route:
+                      cluster: user
+                      cluster_not_found_response_code: 505
+                  - match:
+                      prefix: /saml/metadata
+                    route:
+                      cluster: user
+                      cluster_not_found_response_code: 505
+                  - match:
+                      prefix: /saml/acs
+                    route:
+                      cluster: user
+                      cluster_not_found_response_code: 505
+                  - match:
+                      prefix: /app
+                    route:
+                      cluster: user
+                      cluster_not_found_response_code: 505
+              http_filters:
+                - name: dgp.filter.http.auth.saml
+                  config:
+                    entity_id: "pixiu-saml-sp"
+                    acs_url: "http://localhost:8888/saml/acs";
+                    metadata_url: "http://localhost:8888/saml/metadata";
+                    idp_metadata_url: 
"http://localhost:18080/realms/pixiu/protocol/saml/descriptor";
+                    cert_file: 
"C:/Users/Tianlinmao/Desktop/GoLand/Dubbo-go/dubbo-go-pixiu-samples/dubbogo/simple/saml/certs/sp.crt"

Review Comment:
   这个地址不要编码到你本机的地址



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to