now compatible with non openId factories