v2 config and custom provider config