--- base/pom.xml
+++ base/pom.xml
... | ... | @@ -552,6 +552,7 @@ |
| 552 | 552 |
<!-- 공통컴포넌트 끝 --> |
| 553 | 553 |
|
| 554 | 554 |
<!-- oauth2 login --> |
| 555 |
+ <!-- |
|
| 555 | 556 |
<dependency> |
| 556 | 557 |
<groupId>com.github.scribejava</groupId> |
| 557 | 558 |
<artifactId>scribejava-apis</artifactId> |
... | ... | @@ -563,6 +564,12 @@ |
| 563 | 564 |
<artifactId>scribejava-core</artifactId> |
| 564 | 565 |
<version>5.6.0</version> |
| 565 | 566 |
</dependency> |
| 567 |
+ --> |
|
| 568 |
+ <dependency> |
|
| 569 |
+ <groupId>com.github.scribejava</groupId> |
|
| 570 |
+ <artifactId>scribejava-core</artifactId> |
|
| 571 |
+ <version>2.8.1</version> |
|
| 572 |
+ </dependency> |
|
| 566 | 573 |
|
| 567 | 574 |
<dependency> |
| 568 | 575 |
<groupId>org.apache.httpcomponents</groupId> |
--- base/src/main/java/egovframework/module/uat/uia/service/impl/LoginServiceImpl.java
+++ base/src/main/java/egovframework/module/uat/uia/service/impl/LoginServiceImpl.java
... | ... | @@ -341,7 +341,7 @@ |
| 341 | 341 |
setSession(session,state); |
| 342 | 342 |
|
| 343 | 343 |
//Scribe에서 제공하는 인증 URL 생성 기능을 이용하여 네아로 인증 URL 생성 |
| 344 |
- OAuth20Service oauthService = new ServiceBuilder(CLIENT_ID) |
|
| 344 |
+ OAuth20Service oauthService = new ServiceBuilder() |
|
| 345 | 345 |
.apiKey(CLIENT_ID) |
| 346 | 346 |
.apiSecret(CLIENT_SECRET) |
| 347 | 347 |
.callback(REDIRECT_URI) |
... | ... | @@ -373,7 +373,7 @@ |
| 373 | 373 |
String sessionState = getSession(session); |
| 374 | 374 |
if(StringUtils.pathEquals(sessionState, state)){
|
| 375 | 375 |
|
| 376 |
- OAuth20Service oauthService = new ServiceBuilder(CLIENT_ID) |
|
| 376 |
+ OAuth20Service oauthService = new ServiceBuilder() |
|
| 377 | 377 |
.apiKey(CLIENT_ID) |
| 378 | 378 |
.apiSecret(CLIENT_SECRET) |
| 379 | 379 |
.callback(REDIRECT_URI) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?