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

@@ -59,6 +59,7 @@
scopeSeparator: " ",
scopes: "openid profile email phone address",
additionalQueryStringParams: {},
useBasicAuthenticationWithAccessCodeGrant: false,
usePkceWithAuthorizationCodeGrant: false
})
}