Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Windows authentication in DevTunnels

$
0
0

I have a blazor server application with windows authentication.
Server configuration:

builder.Services.AddAuthentication(HttpSysDefaults.AuthenticationScheme);builder.WebHost.UseHttpSys(options =>{    options.Authentication.Schemes =        AuthenticationSchemes.Negotiate |        AuthenticationSchemes.NTLM;    options.Authentication.AllowAnonymous = false;});

I run application with this launch profile:

"http": {"commandName": "Project","dotnetRunMessages": true,"launchBrowser": false,"applicationUrl": "http://localhost:5105","environmentVariables": {"ASPNETCORE_ENVIRONMENT": "Development",      }    },

When I run app and access it from localhost:5105 it works fine. When entering from incognito mode, I provide my windows credentials and gain access. However, hen I try to enter application from dev tunnel url (on my machine), sign in prompt shows up, but logging with my windows credentials does not work. I tried different variations: username alone, username with full domain, username with ".". Each time app prompts for credentials again.Any idea what might be the reason?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>