Questions tagged [asp.net-identity-3]

The third release of the ASP.NET Identity system which was designed to replace the previous ASP.NET Membership and Simple Membership systems. Use this tag if your question deals specifically to ASP.NET Identity 3 features. The [asp.net-identity] tag should be used if your question is not specific to ASP.NET Identity 3.

225 questions
0
votes
1 answer

Manage Extended ApplicationUser

Using ASP.NET 5 Web Application Template and have extended ApplicationUser by adding BusinessName public class ApplicationUser : IdentityUser { public string BusinessName { get; set; } The BusinessName property in dbContext public…
0
votes
1 answer

Shortcut Microsoft Authentication

We are trying to introduce Microsoft Authentication to our app using the ASP.NET 5 Web Application Template. The default template takes the user from the login link in _LoginPartial.cshtml to the Login page where they select their preferred…
0
votes
1 answer

Asp.Net 5 / Identity 3: Caching of Claims in the IdentityDbContext implementation

While looking for a way to be able to assign and revoke roles via an admin controller for users other than the one making a request, I've implemented a custom IAuthorizeFilter that checks if Guid tag, stored as a Claim, matches to a value in the…
0
votes
1 answer

asp.net identity 3 does not support async for List of Roles

I have the following code private readonly RoleManager _roleManager; private async Task DoStuff(MyViewModel viewModel) { var roles = await _roleManager.Roles; var mylist = await _myRepository.SelectAll(); } however the…
dfmetro
  • 4,462
  • 8
  • 39
  • 65
0
votes
1 answer

Cant find PasswordValidator property in UserManager, AspNet.Identity 3

I want to change the password requirements for my registration form but I cant find the PasswordValidator property in the UserManager class. I'm using AspNet.Identity.EntityFramework 3.0.0-beta5 private readonly UserManager _userManager; …
user3621898
  • 589
  • 5
  • 24
0
votes
1 answer

ASP.NET Core UseMicrosoftAccountAuthentication type IApplicationBuilder not defined

I was able to UseMicrosoftAccountAuthentication in ASP.NET 5 Beta 8, but the same code in Startup.cs won't build in RC1 app.UseMicrosoftAccountAuthentication(options => { options.ClientId = "MyClientId"; …
0
votes
1 answer

ASP.Net 5 + Identity 3 Overriding default Roles implementation

I have to extend default implementation of Roles in Identity 3. So I wrote subclasses: public class ApplicationRole:IdentityRole { public string Description { get; set; } public DateTime CreationDate { get; set; } } public class…
Slip
  • 593
  • 1
  • 7
  • 21
0
votes
2 answers

Use Windows Authentication to get User ID with .Net Identity for Role Management

We have an Intranet site we are developing in ASP.NET 5 aka vNext and MVC 6. We'd like to be able to get the Windows Network ID the user is logged in as, but then there is an existing database defining roles, etc. we were going to leverage and…
0
votes
1 answer

ASP.NET Identity + WebForms for the cloud-based application?

Summary: My task is to decide how the user authentication should be implemented for the cloud-based project that should be evolved from the older WebForms application. I am at the beginning of the decision process, but I have to decide soon; so, I…
pepr
  • 20,112
  • 15
  • 76
  • 139
0
votes
0 answers

A Claim of type 'Role' is too abstract

I have built a web api with asp.net identity and bearer token auth. I understand that roles outcome is true/false and a claim is a finer grained statement about an user. But a claim of type role is just something abstract just a name like…
0
votes
1 answer

ASP.NET Web API User Activation by Administrator

I have a requirement to prevent users from logging in to my ASP.NET Web API 2.0 Identity 3.0 backed website until an administrative account "activates" a user's confirmed registered ApplicationUser account. I have implemented the EmailConfirmed…
jlavallet
  • 1,267
  • 1
  • 12
  • 33
0
votes
1 answer

Asp.Net Identity Get Users by Claims

How could I get a list of users by the claims they have? I have tried the following query on the UserManager.Users property of IQueryable await (from t in Users from c in t.Claims where c.ClaimType == "CompanyId" && c.ClaimValue == Id select…
MiddleTommy
  • 359
  • 3
  • 10
0
votes
1 answer

asp.net 5, indentity 3 and modular projects

I'm trying to create the modular project on the asp.net 5 (vnext) on dnxcore50. I have the problems with the new Identity 3 (or either with replacing it with the custom security classes). My project contains Models subproject, DataAccess subproject…
Dmitry Sikorsky
  • 1,374
  • 14
  • 23
0
votes
0 answers

asp.net vnext identity private registration

I have created vNext empty project. Added some API and views. I also disabled registration, by removing [AllowsAnonymous] from Register methods, because I don't want public registration. But what I want, is to allow private registration. I will…
-3
votes
1 answer

Identity providers that work with Cosmosdb

What identity providers work with CosmosDB? I have a Xamarin Forms Mobile app and an Angular 4 Web app that I want users to be able to log in to either to get at their data. I want to avoid having to right a massive middle wear program, but…
1 2 3
14
15