Reuse provider to rule cors.