On debugging OAuth2 in #golang
TL;DR: if you run into strange oauth2 errors especially against not-so-well-known endpoints, you may want to try RegisterBrokenAuthHeaderProvider
While working on some authentication changes for dbxcli, I ran into a strange issue, that ultimately had…