diff --git a/src/Squidex/Configurations/Identity/LazyClientStore.cs b/src/Squidex/Configurations/Identity/LazyClientStore.cs index 8f0f8a740..bf63b5843 100644 --- a/src/Squidex/Configurations/Identity/LazyClientStore.cs +++ b/src/Squidex/Configurations/Identity/LazyClientStore.cs @@ -53,7 +53,7 @@ namespace Squidex.Configurations.Identity }, PostLogoutRedirectUris = new List { - options.BuildUrl("logout") + options.BuildUrl("logout", false) }, AllowAccessTokensViaBrowser = true, AllowedGrantTypes = GrantTypes.Implicit, diff --git a/src/Squidex/Configurations/Identity/MyIdentityOptions.cs b/src/Squidex/Configurations/Identity/MyIdentityOptions.cs index 388545327..b208ba835 100644 --- a/src/Squidex/Configurations/Identity/MyIdentityOptions.cs +++ b/src/Squidex/Configurations/Identity/MyIdentityOptions.cs @@ -24,12 +24,14 @@ namespace Squidex.Configurations.Identity public bool RequiresHttps { get; set; } - public string BuildUrl(string path) + public string BuildUrl(string path, bool trailingSlash = true) { var url = $"{BaseUrl.TrimEnd('/')}/{path.Trim('/')}"; - if (url.IndexOf("?", StringComparison.OrdinalIgnoreCase) < 0 && - url.IndexOf(";", StringComparison.OrdinalIgnoreCase) < 0) { + if (trailingSlash && + url.IndexOf("?", StringComparison.OrdinalIgnoreCase) < 0 && + url.IndexOf(";", StringComparison.OrdinalIgnoreCase) < 0) + { url = url + "/"; } diff --git a/src/Squidex/app/app.component.ts b/src/Squidex/app/app.component.ts index 41e92bfa4..981364036 100644 --- a/src/Squidex/app/app.component.ts +++ b/src/Squidex/app/app.component.ts @@ -11,6 +11,6 @@ import * as Ng2 from '@angular/core'; selector: 'sqx-app', template }) -export class AppComponent { +export class AppComponent { public isLoaded = false; } \ No newline at end of file diff --git a/src/Squidex/app/components/internal/apps/apps-page.component.html b/src/Squidex/app/components/internal/apps/apps-page.component.html index 60cd45af8..7838bbda2 100644 --- a/src/Squidex/app/components/internal/apps/apps-page.component.html +++ b/src/Squidex/app/components/internal/apps/apps-page.component.html @@ -6,7 +6,7 @@ -