In a new deployment, OIDC client can retrieve the code but when submiting the code via backchannel it fails to receive access_token and instead HTML code was returned.
Authorization Provider's endpoints were protected.
/affwebservices/CASSO/oidc/<Client>/authorize
As this is protected, the OIDC Client submitting code to the endpoint will be receiving HTTP 302 redirect and not the token.
Configure the Authentication URL and that should be protected.
OIDC endpoints URL must not be protected.