Skip to content

Commit b903b07

Browse files
authored
Merge pull request #74 from myndocs/release/0.6.1
Release/0.6.1
2 parents 09ac0bb + 93f656b commit b903b07

File tree

14 files changed

+19
-15
lines changed

14 files changed

+19
-15
lines changed

Diff for: oauth2-server-client-inmemory/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-core/src/main/java/nl/myndocs/oauth2/CallRouter.kt

+4
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ class CallRouter(
160160
"token" -> routeAccessTokenRedirect(callContext, credentials)
161161
else -> throw InvalidGrantException("'grant_type' with value '$responseType' not allowed")
162162
}
163+
} catch (invalidIdentityException: InvalidIdentityException) {
164+
callContext.respondStatus(STATUS_UNAUTHORIZED)
165+
callContext.respondJson(invalidIdentityException.toMap())
166+
return RedirectRouterResponse(false)
163167
} catch (oauthException: OauthException) {
164168
callContext.respondStatus(STATUS_BAD_REQUEST)
165169
callContext.respondJson(oauthException.toMap())

Diff for: oauth2-server-hexagon/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-http4k/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-identity-inmemory/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-integration-base/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>oauth2-server-integration-base</artifactId>
1313

1414
<properties>
1515
<jackson.version>2.9.9</jackson.version>
16-
<jackson.databind.version>2.9.9.3</jackson.databind.version>
16+
<jackson.databind.version>2.9.10</jackson.databind.version>
1717
</properties>
1818

1919
<dependencies>
@@ -74,4 +74,4 @@
7474
<version>1.3</version>
7575
</dependency>
7676
</dependencies>
77-
</project>
77+
</project>

Diff for: oauth2-server-javalin/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-json/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-jwt/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-ktor/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-sparkjava/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: oauth2-server-token-store-inmemory/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>0.6.0</version>
8+
<version>0.6.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>nl.myndocs</groupId>
88
<artifactId>kotlin-oauth2-server</artifactId>
99
<packaging>pom</packaging>
10-
<version>0.6.0</version>
10+
<version>0.6.1</version>
1111

1212
<properties>
1313
<kotlin.version>1.3.31</kotlin.version>

0 commit comments

Comments
 (0)