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 ff80958 commit 47605fdCopy full SHA for 47605fd
lib/stac-auth-proxy/index.ts
@@ -38,10 +38,12 @@ 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: props.stacApiClientId && JSON.stringify({
42
- clientId: props.stacApiClientId,
43
- usePkceWithAuthorizationCodeGrant: true,
44
- }),
+ SWAGGER_UI_INIT_OAUTH:
+ props.stacApiClientId &&
+ cdk.Stack.of(this).toJsonString({
+ clientId: props.stacApiClientId,
45
+ usePkceWithAuthorizationCodeGrant: true,
46
+ }),
47
48
// customized settings
49
...props.apiEnv,
0 commit comments