Getting error: could not verify JWT. Error: oidc: failed syncing KeySet: parsing time "0" as "Mon, 02 Jan 2006 15:04:05 MST": cannot parse "0" as "Mon"

Hi,

I’ve setup oidc implicit flow in Sync Gateway. But I’m seeing the following error in sync gateway log when the id_token is being validated in sync gateway.

Couchbase Sync Gateway/2.0.0(832;2d8a6c0)

OIDC: Not synchronizing provider config for issuer

OIDC+: Client &{0x125cc00 0xc0424262c0 {test_cbsg_client } http://localhost:4984/staging/_oidc_callback [openid email] {[] map[] {0 0 }} {{0 0} 0 0 0 0} {63666380939 461976000 }} could not verify JWT. Error: oidc: failed syncing KeySet: parsing time “0” as “Mon, 02 Jan 2006 15:04:05 MST”: cannot parse “0” as “Mon”

Looks like this is an issue with go-oidc: https://github.com/coreos/go-oidc/issues/136

Can you please help?

Thanks