Coder Social home page Coder Social logo

Comments (8)

brockallen avatar brockallen commented on July 23, 2024

Maybe this helps: https://github.com/brockallen/BrockAllen.MembershipReboot/wiki/Implementing-A-Custom-Storage-Mechanism

from brockallen.membershipreboot.

Vincent026 avatar Vincent026 commented on July 23, 2024

Thanks for the quick response Brock! I will have a close look at this article again.

from brockallen.membershipreboot.

Vincent026 avatar Vincent026 commented on July 23, 2024

Our current implementation, based on your examples, uses some InMemory clients, users and scopes, registered in the IdentityServerServiceFactory, which is mapped to the path "/identity". I see that there is also a mapped path named "/core". Which mapping do I need to the configure the IdentityServerServiceFactory, in order to register the custom user service?

kind regards

from brockallen.membershipreboot.

brockallen avatar brockallen commented on July 23, 2024

Whichever you want. All of those are just samples.

from brockallen.membershipreboot.

Vincent026 avatar Vincent026 commented on July 23, 2024

Thanks! My first thought was that these where compulsory predefined end points. I am getting closer to what I want.

from brockallen.membershipreboot.

Vincent026 avatar Vincent026 commented on July 23, 2024

I am making progress with implementing CustomUserAccountService and CustomUserRepository. It seems that a hashed password is expected to be stored. Our table has a readable password field and that is ok with us. I rather don't modify the schema of the user table, What I am trying to do now is intercepting authentication by overriding the Authenticate method(s) in the CustomUserAccountService. Is this a good strategy for overriding authentication (to validate the password with the readable field instead of using the hashedpassword)?

from brockallen.membershipreboot.

brockallen avatar brockallen commented on July 23, 2024

If you have an existing DB for users, then I don't see why you want to use MR. Just implement the IUserService in IdentityServer.

from brockallen.membershipreboot.

Vincent026 avatar Vincent026 commented on July 23, 2024

You are right that we already have a way of filling our DB and there is no need for us to have MR to do the CRUD actions. However, this may change in the future. Besides that, we have several user sources and I can use MR to show the combined set. I don't implement the Create, Update and Delete methods in the repo.

from brockallen.membershipreboot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.