Check for multiple access tokens on the ServerHttpRequest rather than get get first. If multiples are found throw a OAuth2AuthenticationException.
Closes gh-5708
pull/10332/head
Darren Forsythe4 years agocommitted byJosh Cummings
@ -65,7 +67,8 @@ public class ServerBearerTokenAuthenticationConverter implements ServerAuthentic
@@ -65,7 +67,8 @@ public class ServerBearerTokenAuthenticationConverter implements ServerAuthentic
@ -80,6 +83,20 @@ public class ServerBearerTokenAuthenticationConverter implements ServerAuthentic
@@ -80,6 +83,20 @@ public class ServerBearerTokenAuthenticationConverter implements ServerAuthentic
@ -203,6 +203,20 @@ public class ServerBearerTokenAuthenticationConverterTests {
@@ -203,6 +203,20 @@ public class ServerBearerTokenAuthenticationConverterTests {