Skip to content

Walk through videos for IdentityManager

April 20, 2015

I’ve recorded a couple of videos for getting started with IdentityManager. Enjoy!

14 Comments leave one →
  1. Simon C permalink
    April 23, 2015 12:47 am

    Hey Brock, How can we hook IdentityManager into IdentityServer? Any package to create a IUserSevice from IdentityManager? Maybe a sample somewhere?

  2. May 30, 2015 7:06 am

    Great videos, Brock.

    How about creating a walkthrough video for IdentityManager with MembershipReboot?

  3. Bhagi permalink
    June 20, 2015 3:55 am

    Thanks for sharing a video, it’s a very helpful and easy to use. Asp.net support two-factor authentication using SMS and email with Asp.net Identity. I cannot find “email” in two-factor authentication, is there way to enable “email” to sending code ?

    • Bhagi permalink
      June 20, 2015 4:27 am

      I found it, now it is showing sms and email. Thank you, Brock!

  4. Henke permalink
    September 8, 2015 8:01 am

    Hi Brock,
    Thanks for the excellent IdentityManager! I am not able to get filtering to work for name claim as you are showing in the video? Really weird? I have added a claim with name=name and a value but the filter/search only works for the username not the claim? I can see the claim in the database…

    Any idea why it’s not working for me? I am using the aspnet identity version…

    • October 1, 2015 5:05 pm

      It would depend on the service’s implementation. The default works one way, but if you plug in a different backing identity library you need to write some code to provide the filter logic. I’d suggest looking at the MR and AspId implementation differences to see how that’s done.

  5. January 3, 2016 9:44 am

    Hi Brock,

    Thank you for sharing the code.
    I have some issuses translating the code to VB, maybe you can help Me?

    public partial class Startup
    {
    public void Configuration(IAppBuilder app)
    {
    ConfigureAuth(app);

    app.Map(“/idm”, idm =>
    {
    var factory = new IdentityManagerServiceFactory();
    factory.IdentityManagerService = new Registration();
    factory.Register(new Registration());
    factory.Register(new Registration());
    factory.Register(new Registration());
    factory.Register(new Registration());
    //factory.Register(new Registration(resolver => new ApplicationDbContext(“foo”)));
    factory.Register(new Registration());

    idm.UseIdentityManager(new IdentityManagerOptions {
    Factory = factory
    });
    });
    }
    }

  6. Darryl permalink
    April 13, 2016 10:41 pm

    Good work with IdentityManager.

    My ASP.NET Identity database is no longer vanilla since I’ve added some extra tables (AspNetCompanies for one).

    I was really keen to hook up with IdentityManager to manage my customised model but it seems IdentityManager AspNetIdentity is really bound to an off-the-shelf ASP.NET Identity schema. I know there is provision to extend the properties but I really wanted to add complete new entities. For example, I figured I’d probably need a CompanyManager to match the built-in UserManager and RoleManager along with all the other bits needed like a CompanyStore, company metadata, etc …….

    I’ve played around for a while and will eventually be able to wire it all up but I’m finding it’s a fair bit of work. Of course I could be missing something but would be keen to know what you think of my plan to extend IdentityManager in this way.

    Or perhaps I’m better off starting from scratch with my own implementation.

    If someone else has done anything similar it would be good to see some samples.

    Thanks.

    • May 3, 2016 11:05 am

      Yes, IdMgr was meant to make it easy to get started. It’s not an arbitrary DB editor.

    • June 9, 2016 11:25 am

      Darryl, I would be interested if you found a solution as I am faced with the same challenge.

      • Darryl Stratford permalink
        July 8, 2016 12:34 am

        js,

        I spent a bit of time but gave up. The code is very tightly bound to a standard Identity model.

        Haven’t done so yet but will probably develop my own manager.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: