Remove unnecessary oauth method
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
This commit is contained in:
@@ -273,7 +273,6 @@ func initOauthProviders(p *types.Playground) {
|
||||
if p.DockerClientID != "" && p.DockerClientSecret != "" {
|
||||
|
||||
endpoint := getDockerEndpoint(p)
|
||||
oauth2.RegisterBrokenAuthHeaderProvider(fmt.Sprintf(".%s", endpoint))
|
||||
conf := &oauth2.Config{
|
||||
ClientID: p.DockerClientID,
|
||||
ClientSecret: p.DockerClientSecret,
|
||||
|
||||
Reference in New Issue
Block a user