Browse Source

添加安全依赖

hym 3 years ago
parent
commit
e83e89a8fa
1 changed files with 9 additions and 0 deletions
  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>