http-negotiate

How to use a Service Worker With BASIC Authentication (NTLM, Negotiate)

≡放荡痞女 提交于 2021-02-18 07:48:48
问题 I have been trying to use a service worker within a IIS hosted web site that caches some of the static content of the site. The site is an internal application that uses Windows Authentication. I have been able to register and run a service worker without too much hassle, but as soon as I open the caches and start adding files to the cache, the promise fails with an authorisation failure. the returned HTTP result is 401 Unauthorised. This is the usual response for the first few requests until

Windows authentication in linux docker container

纵然是瞬间 提交于 2020-04-07 05:31:20
问题 i am trying to use windows authentication in linux docker container under kubernetes. I am following this settings: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-3.1&tabs=visual-studio#kestrel App is in .net core3, with nuget Microsoft.AspNetCore.Authentication.Negotiate and running in kestrel I have added the services.AddAuthentication(Microsoft.AspNetCore.Authentication.Negotiate.NegotiateDefaults.AuthenticationScheme).AddNegotiate(); as