Skip to content

Commit 76376b3

Browse files
authored
Upgrade kotlin version (#60)
* Fix integration redirect uri test * Upgrade kotlin version
1 parent 63ed8ae commit 76376b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

oauth2-server-integration-base/src/main/java/nl/myndocs/oauth2/integration/BaseIntegrationTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ abstract class BaseIntegrationTest {
8484
.addPathSegment("authorize")
8585
.setQueryParameter("response_type", "code")
8686
.setQueryParameter("client_id", "testapp")
87-
.setQueryParameter("redirect_uri", "http://localhost:$localPort/callback")
87+
.setQueryParameter("redirect_uri", "http://localhost:8080/callback")
8888
.build()
8989

9090
val request = Request.Builder()
@@ -101,7 +101,7 @@ abstract class BaseIntegrationTest {
101101
val body = FormBody.Builder()
102102
.add("grant_type", "authorization_code")
103103
.add("code", response.header("location")!!.asQueryParameters()["code"])
104-
.add("redirect_uri", "http://localhost:$localPort/callback")
104+
.add("redirect_uri", "http://localhost:8080/callback")
105105
.add("client_id", "testapp")
106106
.add("client_secret", "testpass")
107107
.build()

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<version>0.5.1-SNAPSHOT</version>
1111

1212
<properties>
13-
<kotlin.version>1.3.0</kotlin.version>
13+
<kotlin.version>1.3.31</kotlin.version>
1414
<maven.compiler.source>1.8</maven.compiler.source>
1515
<maven.compiler.target>1.8</maven.compiler.target>
1616
</properties>

0 commit comments

Comments
 (0)