Git Product home page Git Product logo

Comments (6)

brockallen avatar brockallen commented on May 30, 2024

Well, if they're authenticing from an external IdP, you can always set the user's email as verified (assuming you trust twitter, etc. to have already validated the email). There's an API on the user account service to set the verified email.

from identityserver3.membershipreboot.

ciaranj avatar ciaranj commented on May 30, 2024

Indeed, my issue is however that the 3rd party (twitter in this case) will never provide the e-mail, so I'd like to 'adjust' the semantics of the Membershipreboot library (in this case 'requires verified email') depending on the IDP federated onto. I can see how I could probably achieve this, but wonder if its relevant to the general library?

from identityserver3.membershipreboot.

brockallen avatar brockallen commented on May 30, 2024

I'm confused -- if the user authenticates w/ twitter then the MR Authenticate API is not used and that's where the RequreAccountVerification is checked (unless I'm forgetting something).

from identityserver3.membershipreboot.

ciaranj avatar ciaranj commented on May 30, 2024

When the call comes back in from twitter, it still passes through ProcessNewExternalAccountAsync which (if MR is configured so) requires an e-mail address to be present in the claims, I'd like that bit, just there to be tweakable depending on my whims ?

from identityserver3.membershipreboot.

brockallen avatar brockallen commented on May 30, 2024

Yea, if this is being enforced by the MR user service, then just tweak that how you like it.

from identityserver3.membershipreboot.

ciaranj avatar ciaranj commented on May 30, 2024

yeah I've spent a chunk of time getting my head around (it's been a while since I've been in the IdSrv internals) registration and I now know how I can get my per-request bits and pieces routed into the relevant place so should be able to do what I need with a facade around it I think :) ty.

from identityserver3.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.