diff --git a/1-WebApp-OIDC/1-5-B2C/ReadmeFiles/sign-in.png b/1-WebApp-OIDC/1-5-B2C/ReadmeFiles/sign-in.png index 861e713d..d12e501f 100644 Binary files a/1-WebApp-OIDC/1-5-B2C/ReadmeFiles/sign-in.png and b/1-WebApp-OIDC/1-5-B2C/ReadmeFiles/sign-in.png differ diff --git a/1-WebApp-OIDC/1-5-B2C/Startup.cs b/1-WebApp-OIDC/1-5-B2C/Startup.cs index 100920bd..62dd851f 100644 --- a/1-WebApp-OIDC/1-5-B2C/Startup.cs +++ b/1-WebApp-OIDC/1-5-B2C/Startup.cs @@ -63,7 +63,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) app.UseHttpsRedirection(); app.UseStaticFiles(); - app.UseCookiePolicy(); app.UseRouting(); app.UseAuthentication(); diff --git a/1-WebApp-OIDC/1-5-B2C/Views/Shared/_CookieConsentPartial.cshtml b/1-WebApp-OIDC/1-5-B2C/Views/Shared/_CookieConsentPartial.cshtml deleted file mode 100644 index 6db1d32c..00000000 --- a/1-WebApp-OIDC/1-5-B2C/Views/Shared/_CookieConsentPartial.cshtml +++ /dev/null @@ -1,40 +0,0 @@ -@using Microsoft.AspNetCore.Http.Features -@{ - var consentFeature = Context.Features.Get(); - var showBanner = !consentFeature?.CanTrack ?? false; - var cookieString = consentFeature?.CreateConsentCookie(); -} - -@if (showBanner) -{ - - -} \ No newline at end of file diff --git a/1-WebApp-OIDC/1-5-B2C/Views/Shared/_Layout.cshtml b/1-WebApp-OIDC/1-5-B2C/Views/Shared/_Layout.cshtml index f4fb8804..de646e3c 100644 --- a/1-WebApp-OIDC/1-5-B2C/Views/Shared/_Layout.cshtml +++ b/1-WebApp-OIDC/1-5-B2C/Views/Shared/_Layout.cshtml @@ -38,13 +38,11 @@ - -
@RenderBody()