Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GopiWilco opened this issue Sep 24, 2018 · 0 comments

Comments

@GopiWilco
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant