Category : authentication

I have created an application in .net 5 with uses bearer authentication for login. Now I have another requirement where in the application allows windows user to login if the name is already registered. Can some one explain me the approach to accomplish this. In the application I have a flag "Enable windows authentication" based ..

Read more

I need some help to configure Windows authentication from apache. What I’ve done so far is: I create a new simple project (the default) of .net core from visual studio. I add this line: services.AddAuthentication(NegotiateDefaults.AuthenticationScheme).AddNegotiate(); to the Startup.ConfigureServices. this line: app.UseAuthentication(); to the Startup.Configure. if I run the project from the IIS, I was able ..

Read more

I’m very new to authentication. I have been trying to read stuff for the past week or so, but it’s all pretty overwhelming. I have a client in C++ and server in .NET. Client communicates with server using REST (cpprestsdk). As of today, this is how I’m communicating: client::http_client_config config; auto func = [&](const client::native_handle ..

Read more

I’m currently working on an Hololens app that should work on both Hololens 1st gen and 2. One of the security requirements we have is to request user consent (using windows hello) before the app loads. I’ve implementented a very similar approach to the following described here (https://docs.microsoft.com/en-us/uwp/api/Windows.Security.Credentials.UI.UserConsentVerifier?redirectedfrom=MSDN&view=winrt-19041): private async System.Threading.Tasks.Task<string> RequestConsent(string userMessage) { string ..

Read more

I have a client written in C++. Presently, I use cpprestsdk to communicate with the server without any authentication. I would like to add authentication by validating certificates. I have the certificate context (PCCERT_CONTEEXT) on the client. On the server, I have implemented a validation layer where certain subject names and issuer combinations are whitelisted. ..

Read more