I want to abstract the logic for oauth authentication and I\'ve built the following code:
provider, _ := utils.ChooseProviderFromString(data.Provider) user, _