dotnet / dotnet/aspnetcore

Blazor Server App on iPhone Repeatedly Prompts for Windows Authentication

Open
#57,603 4 comments 0 reactions 0 assignees View on GitHub
area-auth bug External
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

If you create a new Blazor server-side web application using Windows authentication, after publishing it, you will be prompted to authenticate twice when trying to access it. The issue seems to be related to _framework/blazor.server.js. I am unsure why the Edge browser on iPhone cannot pass credentials to blazor.server.js. After you log in the first time, you are prompted to authenticate again. You can skip the second prompt and navigate to the home page, but each time you click on another link, you are asked to enter your username and password again. This issue has started occurring after recent updates.

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

.NET 8

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.