3,060 questions
0
votes
1
answer
109
views
Browser keeps showing Windows Authentication popup after obtaining JWT token in ASP.NET app
I have an ASP.NET application (on .NET 4.5.2) where I want to use combined Windows authentication and JWT token auth.
When the app starts, it calls an endpoint like this:
/api/auth/token
This ...
1
vote
0
answers
98
views
Will Microsoft Graph authentication to Windows authentication work?
I currently use Microsoft Graph authentication in my application to get user information from Azure AD (e.g., profile, photo, list of AD users). However, I will soon lose access to Microsoft Graph and ...
1
vote
0
answers
62
views
Why ASP.NET Core Windows authentication is working on parent domain and not working on child domain
I have an ASP.NET Core web application, hosted on IIS server. Everything is working fine on the parent domain - explorer prompts for Windows authentication and sign in is working fine. But in the ...
0
votes
0
answers
32
views
HttpMethod.Post gives an 401 error even though it was supplied with credentials [duplicate]
I am trying to create a post method to create a data that pushes to my DB
this is my service to call my API:
public async Task CreateTest(TestsDto testDto)
{
try
{
var request = new ...
0
votes
0
answers
73
views
Angular App with .NET 9 Backend Using Windows Authentication Triggers login Popupon browser randomly
I'm facing an issue with Windows Authentication in a full-stack app:
Tech Stack:
Frontend: Angular 9.1
Backend: ASP.NET 9 (hosted on IIS)
Authentication: Windows Authentication (WinAuth)
Hosting: ...
1
vote
0
answers
334
views
npm install msnodesqlv8 for Database Windows Authentification - Python Error
I want to use module msnodesqlv8 to do Windows Authentification in my DB.
My code is pretty simple and looks like this:
const sql = require('mssql/msnodesqlv8');
const config = {
server: '...
2
votes
0
answers
76
views
RODBC for MacOS M4 Sequoia with Windows Authentication to MS SQL Server
I recently got a Macbook Pro with M4 processor and Sequoia OS. I have been using Windows machine for a while and now trying to figure out my settings.
In my PC, I was able to use Windows ODBC ...
1
vote
0
answers
51
views
Reauthenticating windows user with Credentials.Ui.CredentialPicker.PickAsync(). What comes next?
I am trying to do something here that I thought would be very simple.
I have an old desktop app. It's concept of authentication is simply that it uses WindowsIdentity.GetCurrent(); This is all fine.
I ...
0
votes
0
answers
68
views
Windows Authentication working only in PowerShell but not as curl
I am running Web App on my IIS server and I have Windows Authnetication enabled.
On client, when I run PowerShell script: Invoke-WebRequest -Uri {url} -UseDefaultCredentials, its working fine. Also in ...
0
votes
2
answers
179
views
ASP.NET Core 6 MVC: UseStatusCodePagesWithReExecute redirects before Windows authentication occurs
I have an ASP.NET Core 6 MVC App with Windows authentication. I use UseStatusCodePagesWithReExecute to handle failure status codes.
When I run the application in Visual studio 2022, it directly goes ...
0
votes
1
answer
178
views
Windows Authentication not working with proxy
I am using Windows Authentication in my ASP.NET Web Api app running on IIS server.
On client I am using UseDefaultCredentials = true with HttpClient and it's working fine.
But when I am using ...
0
votes
1
answer
501
views
How to setup Windows AD authentication in Blazor Server on .NET 9?
I have a Blazor Server (using .NET 9 Blazor web app template with render mode set to server). I want to set Windows AD authentication, but it always outputs a null username on the user page, and no ...
0
votes
0
answers
138
views
Windows authentication in ASP.NET Core 9 with kerberos inside a docker container
I'm trying to get my ASP.NET Core 9 Blazor App to work with Windows authentication running in a docker container.
I wrote this dockerfile:
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
# Temporär ...
0
votes
0
answers
66
views
MSAL skips password prompt and shows unwanted "Connected on Windows" accounts
Context:
I'm building a .NET Framework 4.8 application where users must log in with organizational account (Azure AD). The goal is to enforce authentication without showing other Microsoft accounts ...
0
votes
1
answer
349
views
Generate SPNEGO kerberos token for IIS Windows Authnetication
In C# .NET Framework 4.8, I need to generate kerberos token in SPNGEO format so I can send it in Authorization header as Negotiate to my IIS server, where I have Windows Authentication enabled.
I am ...