Reinclude accidentally removed check if implicit token is null
This commit is contained in:
1 parent
95f9d525ae
commit
5af9d38a7c
1 file changed
+2
+2
@@ -152,12 +152,14 @@ public class AuthenticationProviderService implements SSOAuthenticationProviderS
|
||||
|
||||
if (confService.getFlowType().equals("implicit")) {
|
||||
String token = credentials.getParameter(IMPLICIT_TOKEN_PARAMETER_NAME);
|
||||
if (token != null) {
|
||||
JwtClaims claims = tokenService.validateToken(token);
|
||||
if (claims != null) {
|
||||
username = tokenService.processUsername(claims);
|
||||
groups = tokenService.processGroups(claims);
|
||||
tokens = tokenService.processAttributes(claims);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
String verifier = null;
|
||||
if (confService.isPKCERequired()) {
|
||||
|
||||
Reference in new issue
Block a user