diff --git a/demo-shell/src/app.config.json b/demo-shell/src/app.config.json index 3f86aad399..9d565103eb 100644 --- a/demo-shell/src/app.config.json +++ b/demo-shell/src/app.config.json @@ -21,7 +21,8 @@ "silentLogin": true, "redirectSilentIframeUri": "{protocol}//{hostname}{:port}/assets/silent-refresh.html", "redirectUri": "/", - "redirectUriLogout": "/logout" + "redirectUriLogout": "/logout", + "publicUrls": ["**/preview/s/*", "**/settings"] }, "application": { "storagePrefix": "ADF", diff --git a/lib/core/app-config/schema.json b/lib/core/app-config/schema.json index c2ffdb7912..31acf70b75 100644 --- a/lib/core/app-config/schema.json +++ b/lib/core/app-config/schema.json @@ -969,6 +969,12 @@ "redirectUriLogout": { "type": "string" }, + "publicUrls": { + "type": "array", + "items": { + "type": "string" + } + }, "scope": { "type": "string" } diff --git a/lib/core/models/oauth-config.model.ts b/lib/core/models/oauth-config.model.ts index beef6642f3..0b24459a77 100644 --- a/lib/core/models/oauth-config.model.ts +++ b/lib/core/models/oauth-config.model.ts @@ -24,4 +24,5 @@ export interface OauthConfigModel { silentLogin?: boolean; secret?: string; redirectUriLogout?: string; + publicUrls: string[]; }