fix dexctl

This commit is contained in:
Bobby Rullo 2016-04-19 18:42:15 -07:00
parent 399b15abeb
commit 9c403aba41

View file

@ -36,7 +36,12 @@ func (d *dbDriver) NewClient(meta oidc.ClientMetadata) (*oidc.ClientCredentials,
return nil, err
}
return d.ciRepo.New(clientID, meta, false)
return d.ciRepo.New(client.Client{
Credentials: oidc.ClientCredentials{
ID: clientID,
},
Metadata: meta,
})
}
func (d *dbDriver) ConnectorConfigs() ([]connector.ConnectorConfig, error) {