how to resolve idp.generic