Avoid setting an explicit token fetcher for the known flows.

This commit is contained in:
Burcu Dogan
2014-11-11 11:22:30 +11:00
parent 13cbb8b617
commit 0b8fcbadce

View File

@@ -66,7 +66,6 @@ func Endpoint(authURL, tokenURL string) Option {
if err != nil {
return err
}
o.TokenFetcherFunc = makeThreeLeggedFetcher(o)
o.AuthURL = au
o.TokenURL = tu
return nil