Hi,

I'm facing a problem while deserializing KeycloakSecurityContext of a Basic Auth KeycloakAccount.

KeycloakSecurityContext stores Basic Auth base64 token instead of Access Token, so deserialization code fail!

String[] parts = encoded.split("\\."); if (parts.length < 2 || parts.length > 3) throw new IllegalArgumentException("Parsing error");
https://github.com/keycloak/keycloak/blob/master/core/src/main/java/org/keycloak/KeycloakSecurityContext.java