How to configure Auth to be independent of provider