We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c7de5 commit 31a4e25Copy full SHA for 31a4e25
lib/stac-auth-proxy/index.ts
@@ -38,12 +38,10 @@ export class StacAuthProxyLambdaRuntime extends Construct {
38
// swagger-ui config
39
OPENAPI_SPEC_ENDPOINT: "/api",
40
SWAGGER_UI_ENDPOINT: "/api.html",
41
- SWAGGER_UI_INIT_OAUTH:
42
- props.stacApiClientId &&
43
- cdk.Stack.of(this).toJsonString({
44
- clientId: props.stacApiClientId,
45
- usePkceWithAuthorizationCodeGrant: true,
46
- }),
+ SWAGGER_UI_INIT_OAUTH: cdk.Stack.of(this).toJsonString({
+ clientId: props.stacApiClientId,
+ usePkceWithAuthorizationCodeGrant: true,
+ }),
47
48
// customized settings
49
...props.apiEnv,
0 commit comments