瀏覽代碼

添加安全依赖

hym 3 年之前
父節點
當前提交
e83e89a8fa
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      user_center/pom.xml

+ 9 - 0
user_center/pom.xml

@@ -59,6 +59,15 @@
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-pool2</artifactId>
        </dependency>
+       <!--oauth2-->
+       <dependency>
+           <groupId>org.springframework.cloud</groupId>
+           <artifactId>spring-cloud-starter-oauth2</artifactId>
+       </dependency>
+       <dependency>
+           <groupId>org.springframework.security.oauth</groupId>
+           <artifactId>spring-security-oauth2</artifactId>
+       </dependency>
    </dependencies>
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>