Skip to content

Commit 8508081

Browse files
author
OpenShift Bot
authored
Merge pull request #13978 from deads2k/auth-08-sa-via-websocket
Merged by openshift-bot
2 parents 3b56da5 + edebf8c commit 8508081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/server/origin/master_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ func newAuthenticator(config configapi.MasterConfig, restOptionsGetter restoptio
686686
publicKeys = append(publicKeys, readPublicKeys...)
687687
}
688688
serviceAccountTokenAuthenticator := serviceaccount.JWTTokenAuthenticator(publicKeys, true, tokenGetter)
689-
tokenAuthenticators = append(tokenAuthenticators, bearertoken.New(serviceAccountTokenAuthenticator, true))
689+
tokenAuthenticators = append(tokenAuthenticators, bearertoken.New(serviceAccountTokenAuthenticator, true), paramtoken.New("access_token", serviceAccountTokenAuthenticator, true))
690690
}
691691

692692
// OAuth token

0 commit comments

Comments
 (0)