feat(docker): add OAUTH_USE_BASIC_AUTH env (#7474)

Makes the last `initOAuth` variable configurable via environment
variables in the swagger-ui docker image.

Co-authored-by: Christopher Giroir <chrisgiroir@improbable.io>
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
This commit is contained in:
Christopher Giroir
2022-03-21 13:53:07 -07:00
committed by GitHub
parent bd19c9c60c
commit c81d7f0f30
4 changed files with 11 additions and 1 deletions

View File

@@ -31,6 +31,10 @@ const oauthBlockSchema = {
type: "object",
name: "additionalQueryStringParams"
},
OAUTH_USE_BASIC_AUTH: {
type: "boolean",
name: "useBasicAuthenticationWithAccessCodeGrant"
},
OAUTH_USE_PKCE: {
type: "boolean",
name: "usePkceWithAuthorizationCodeGrant"