Remove unnecessary oauth method

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
This commit is contained in:
Marcos Lilljedahl
2022-07-13 18:26:52 -03:00
parent a5a23bf2d9
commit 7188d83f86
3 changed files with 13 additions and 13 deletions

View File

@@ -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,