Replace uses of go-oidc/jose with square/go-jose. The v3 release
of go-oidc does not support any general-purpose JWT APIs and uses
square/go-jose internally.
This removes the dependency on the master version of go-oidc, which
fixes fatal module import problems when importing cloudflared as a module.
This fixes#592
Signed-off-by: James Peach <jpeach@cloudflare.com>
Move from gopkg.in/coreos/go-oidc.v2 module to github.com/coreos/go-oidc/v3,
which is the current supported version of this module.
This fixes#167.
Signed-off-by: James Peach <jpeach@cloudflare.com>