Imports github.com/amsterdam/authz/oauth2 github.com/BurntSushi/toml github.com/garyburd/redigo/redis github.com/sirupsen/logrus Standard library imports bytes context encoding/base64 encoding/json errors flag fmt io/ioutil net/http net/url os strings sync net/http/pprof crypto/hmac crypto/sha256 time syscall os/signal