Update to oauth2 package version 1.0.0, a stable version of the package is available. Not sure how big the impact of the latest breaking changes is.