Set provider programmatically

just be sure your grantConfig has the full Object. (or use a deep merge)