You seem to be mixing OIDC and JWT based logins with your config. Most other KeyCloak configs discussed in the forums here appear to be of the OIDC type.
Not sure if you’ve searched for similar issues but this thread might provide some insight for you: Error Authenticating: Unable to authorize role OIDC - #4 by martinhristov90