More then one possible cause of the fault. This differs between OIDC and OAuth2 since OIDC demands registration of redirect_uri while OAuth2 doesn't.
The identifier for the RSA keytype is "RSA" not "rsa".