File tree Expand file tree Collapse file tree 14 files changed +19
-15
lines changed
oauth2-server-client-inmemory
src/main/java/nl/myndocs/oauth2
oauth2-server-identity-inmemory
oauth2-server-integration-base
oauth2-server-token-store-inmemory Expand file tree Collapse file tree 14 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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())
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 >
7474 <version >1.3</version >
7575 </dependency >
7676 </dependencies >
77- </project >
77+ </project >
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments