asp.net-identity-2 Questions

2

Solved

I am trying to implement a OAuth2 implicit grant flow in an IOS app. In this case it requires a token request instead of a code request because you can't share the client secret in a native app saf...
Tentage asked 26/8, 2014 at 16:49

2

Solved

I am trying to figure out how to find user role name in identity framework. I have such configuration that there will be only one role assigned to a user. So, I tried using public string GetUse...
Photomechanical asked 14/8, 2017 at 12:40

5

Solved

I have default project template of ASP.NET MVC 5 web site and I am trying to list all users with role names (not IDs). The query is: db.Users.Include(u => u.Roles).ToList() Then I want to pr...
Kiloliter asked 7/12, 2014 at 21:3

4

Solved

I have a MVC 6 project (vNext) and I am playing around with the ASP.NET Identity. In my case I don't want to use the build-in stuff which uses the EF (SignInManager, UserManager, UserStore). I have...
Metastasize asked 7/7, 2015 at 14:33

6

I am Using Web Api 2.1 with Asp.Net Identity 2. I am trying to get the authenticated User on my ApiController's constructor (I am using AutoFac to inject my dependencies), but the User shows as not...
Mortgage asked 21/5, 2014 at 14:2

3

Solved

All of the authentication and authorization process of my app is done using stored procedures. I've written a class with all of functionalities that I need, e.g. GetUsers, Login, AddRole, AddMember...
Eumenides asked 14/6, 2015 at 2:53

4

Solved

Once creating a ASP.NET MVC5 project (with target framework is .NET 4.5.1 and the authentication type is Individual User Account), so what is the most elegant way to configure the project so that i...

1

I have developed an authentication mechanism in Asp.Net Web Api 2 with the feature for granting refresh tokens, based on the tutorial on Taiseer's blog. Here is my question. Assume the following s...

3

Solved

I'm new to ASP.NET identity and am still trying to get my head around how it all works. Unfortunately I've found many of the tutorials I've tried are for Identity 1.0, whereas I'm attempting to wor...
Galer asked 26/6, 2014 at 10:51

3

I've created a custom IUserStore<TUser,int> for my application. I've implemented the interfaces I need, IUserStore<TUser, int>, IUserRoleStore<TUser, int>, IUserLockoutStore&l...
Subjunction asked 28/8, 2014 at 14:26

1

Solved

i allow newly created users who know their password and isn't confirmed yet to change their registration email (as long as it's not registered in my database) the problem is that if they changed t...

2

I have the following:- Visual Studio 2013. i created a new asp.net MVC-5 web project. the project is using asp.net identity 2.2. for the authentication method i chose "Individual user accounts" t...

4

I'm setting up a new project using asp.net 5 and MVC 6, but I want to use Entity Framework 6 due to the missing features in EF 7. I setup EF 6.1.3 and that is working. Identity 3.0 depends on EF ...
Ainslie asked 26/3, 2015 at 22:3

6

Everything used to work perfect until fb upgraded it's api to 2.4 (I had 2.3 in my previous project). Today when I add a new application on fb developers I get it with api 2.4. The problem: Now I...

4

Solved

I use ASP.NET Identity 2.0 and MVC. I need to logged user's name,surname,email etc.. in view. How can get it? I can get just @User.Identity but there no my user class's property. //in my view, i n...
Impacted asked 26/11, 2014 at 0:0

1

Solved

I'm building 2 factor registration API using ASP.NET Identity 2.0. I'd like to give users ability to confirm their phone numer on demand, so even if they didn't confirm they're phone number when re...
Affright asked 5/10, 2016 at 10:38

0

I have Asp.Net MVC project that have users (I used Asp.Net Identity 2 for this) and i have another Asp.Net WebApi service. I want to secure authenticate the WebApi to give access for only the Asp....
Felicidadfelicie asked 27/3, 2017 at 11:47

2

Solved

I changed over to use the new ASP.NET Identity 2. I'm actually using the Microsoft ASP.NET Identity Samples 2.0.0-beta2. Can anyone tell me where and how I can modify the code so that it stores a...
Orly asked 22/4, 2014 at 2:53

1

I am a stackoverflow noob so please go easy if I am doing this wrong. I am using asp.net core with the default core identity template (local accounts). I have accertained how to add claims to use...

2

I'm using ASP.NET identity with a ClaimsIdentity to authenticate my users. When a user is authenticated, the property User.Identity contains a ClaimsIdentity instance. However, this is not the cas...
Alienage asked 3/3, 2015 at 12:59

3

Solved

I'm trying to find a way to disable a user in Identity 2.0 and can't seem to find any info on it. I would like to basically set a user to IsActive=false and would prefer to do it as soon as the u...
Pentangular asked 5/10, 2015 at 14:37

2

Solved

One of the things I do not like about Identity is that the UserManagers have to be instantiated in the controller that you wish to get user information for. In my project, I moved all the business ...
Adenine asked 2/3, 2017 at 13:2

1

Solved

I want to secure specific folders and resources in my application that are outside of the routes for my mvc application. I want these resources to only be available to authenticated users (which ro...

7

Solved

I created a new ASP.NET MVC-5 application with Individual User Accounts and then updated all the Nuget packages in the solution. Now I'm trying to follow some of the guidelines shown in some tutori...

3

Solved

I'm using ASP.NET MVC 5 project with identity 2.1.0 and VS2013 U4. I want to add claims to user during registration in order to be stored in db. These claims represent user custom properties. As I ...
Tempered asked 27/1, 2015 at 9:11

© 2022 - 2024 — McMap. All rights reserved.