Reinclude accidentally removed check if implicit token is null

This commit is contained in:
David Bateman authored and adam committed 2026-04-13 15:48:45 +01:00
1 parent 95f9d525ae
commit 5af9d38a7c
1 file changed
+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()) {