Skip clientidcheck

There is currently a bug in the coreos/go-oidc where it doesn't check
authorizing parties, meaning we can't use it
This commit is contained in:
Joel Speed 2017-10-03 17:55:47 +01:00
parent ae59b3fa30
commit e4c10bb340
1 changed files with 2 additions and 1 deletions

View File

@ -155,7 +155,8 @@ func (o *Options) Validate() error {
return err
}
o.oidcVerifier = provider.Verifier(&oidc.Config{
ClientID: o.ClientID,
ClientID: o.ClientID,
SkipClientIDCheck: true,
})
o.LoginURL = provider.Endpoint().AuthURL
o.RedeemURL = provider.Endpoint().TokenURL