Go HTTP middleware package for using an OAuth2 service as a single-sign-on provider.
This is work in progress, including the documentation. In the meantime please have a look at the Geotagging at SFO Museum, part 9 – Publishing Data blog post for an example of how the package works.