diff --git a/.gitignore b/.gitignore index f971dec28..eb67d6691 100644 --- a/.gitignore +++ b/.gitignore @@ -22,8 +22,8 @@ _test-output/ # NodeJS node_modules/ -/src/Squidex/Assets/ +/backend/src/Squidex/Assets appsettings.Development.json appsettings.Production.json -launchSettings.json \ No newline at end of file +launchSettings.json diff --git a/backend/src/Squidex/Config/Authentication/IdentityServerServices.cs b/backend/src/Squidex/Config/Authentication/IdentityServerServices.cs index bfa5720f4..5792e810c 100644 --- a/backend/src/Squidex/Config/Authentication/IdentityServerServices.cs +++ b/backend/src/Squidex/Config/Authentication/IdentityServerServices.cs @@ -5,6 +5,7 @@ // All rights reserved. Licensed under the MIT license. // ========================================================================== +using IdentityServer4.AccessTokenValidation; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; @@ -42,6 +43,7 @@ namespace Squidex.Config.Authentication options.ApiName = apiScope; options.ApiSecret = null; options.RequireHttpsMetadata = identityOptions.RequiresHttps; + options.SupportedTokens = SupportedTokens.Jwt; }); authBuilder.AddOpenIdConnect(options => diff --git a/frontend/app/theme/_bootstrap.scss b/frontend/app/theme/_bootstrap.scss index e7bb700bc..6983029b6 100644 --- a/frontend/app/theme/_bootstrap.scss +++ b/frontend/app/theme/_bootstrap.scss @@ -521,8 +521,8 @@ a { } &-lg { - @media (min-width: 992px) { - max-width: 854px; + @media (max-width: 992px) { + max-width: 90%; } }