Unexpected error when handling authentication request to identity provider after upgrade 20

Hello,
I’d like to show this case because I cannot find a solution on my own.
I’ve got two keycloak instance 16.1.1 Production and another 20.0.1 Test just upgraded.
I was able to upgrade to 20.0.1, some configuration of VM adapted and all realm configuration have been imported.
Now, I’m facing the issue that when my webapp tries to redirect on the following endpoint:

Blockquote /realms/“myrealm”/protocol/openid-connect/auth > Blockquote

for the authentication I get the error:

Unexpected error when handling authentication request to identity provider

after upgrade to 20.0.1
Looking deeper in the logs of keycloak, I receive the error reported in the image uploaded.

Now, this behavior doesn’t happen with the previous version since I simply provide
the username/password into UI. Why am I getting this error?
Furthermore, in the previous version, it was not necessary to redirect with client_id, scope, redirect_uri and renspose_type but Keycloak adds it automatically.
I’m sure I’m ignore something but I cannot figure out what and I need you help because this is causing some disruption on my infrastructure.

Please ask me all the necessary information to troubleshoot.
Cheers,
Gabriele