added ServiceProviderOptions for extra parameters