Skip to content

User Authentication is always false when the Website is hosted in IIS with Capital letters #13

@GopiWilco

Description

@GopiWilco

Hi,

We have hosted our app in IIS, the value "User.Identity.IsAuthenticated" of is always false when the user logged into the application with the website having capital letters.

Ex: http://servername/**IdentityFramework**

But the same application works successfully as the value "User.Identity.IsAuthenticated" is true, when the user logged into the application with the website whose not having any capital letter.
Ex: http://servername/**identityframework**

Below is the code we are using to login.
var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);

Thanks and Regards,

Gopi.S

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions