You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shenyu.apache.org by GitBox <gi...@apache.org> on 2021/06/21 10:17:05 UTC

[GitHub] [incubator-shenyu] yu199195 commented on a change in pull request #1628: Added OAuth2 plugin

yu199195 commented on a change in pull request #1628:
URL: https://github.com/apache/incubator-shenyu/pull/1628#discussion_r655252413



##########
File path: shenyu-bootstrap/src/main/resources/application-local.yml
##########
@@ -18,53 +18,64 @@ server:
   address: 0.0.0.0
 
 spring:
-   main:
-     allow-bean-definition-overriding: true
-   application:
+  main:
+    allow-bean-definition-overriding: true
+  application:
     name: shenyu-bootstrap
-#   cloud:
+#  security:
+#    oauth2:
+#      client:
+#        registration:
+#          <your client-registration-id>:
+#            client-id: <your client-id>
+#            client-secret: <your client-secret>
+#        provider:
+#          <your client-registration-id>:
+#            authorization-uri: <your authorization-uri>
+#            token-uri: <your access-token-uri>
+#            user-info-uri: <your user-info-uri>
+#            jwk-set-uri: <your jwk-set-uri>
+#  cloud:
 #    nacos:
-#       discovery:
-#          server-addr: 127.0.0.1:8848
+#      discovery:
+#        server-addr: 127.0.0.1:8848
 
 management:
   health:
     defaults:
       enabled: false
 
 shenyu:
-    file:
-      enabled: true
-    cross:
-      enabled: true
-    dubbo :
-      parameter: multi
-    sync:
-        websocket :
-             urls: ws://localhost:9095/websocket
-#        zookeeper:
-#             url: localhost:2181
-#             sessionTimeout: 5000
-#             connectionTimeout: 2000
-#        http:
-#             url : http://localhost:9095
-#        nacos:
-#          url: localhost:8848
-#          namespace: 1c10d748-af86-43b9-8265-75f487d20c6c
-#          username:
-#          password:
-#          acm:
-#            enabled: false
-#            endpoint: acm.aliyun.com
-#            namespace:
-#            accessKey:
-#            secretKey:
-#       etcd:
-#         url: http://localhost:2379
-    exclude:
-      enabled: false
-      paths:
-        - /favicon.ico
+  file:
+    enabled: true
+  cross:
+    enabled: true
+  dubbo:
+    parameter: multi
+  sync:
+    websocket:
+      urls: ws://localhost:9095/websocket
+  #        zookeeper:
+  #             url: localhost:2181
+  #             sessionTimeout: 5000
+  #             connectionTimeout: 2000
+  #        http:
+  #             url : http://localhost:9095
+  #        nacos:
+  #          url: localhost:8848
+  #          namespace: 1c10d748-af86-43b9-8265-75f487d20c6c

Review comment:
       why not modify this ?




-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org