Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Windows Authentication: fail to get User.Identity.Name in controller (always null) #455

Closed

Description

@wenkangjing

Project was generated by yo aspnetcore-spa - React With Redux, with following settings

launchSettings.json

    "windowsAuthentication": true,
    "anonymousAuthentication": true,

Symptom
User.Identity.Name; is always null in any controllers

Walk around
Set anonymousAuthentication to false can walk around it, but just curious why.

Activity

  1. SteveSandersonMS commented on Nov 22, 2016

    @SteveSandersonMS
    Member

    Would you mind posting this at https://github.com/aspnet/Identity/issues, since it's a general question about identity in ASP.NET Core rather than being specific to the SPA templates? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions