Comments (6)
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.
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.
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.
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.
Yea, if this is being enforced by the MR user service, then just tweak that how you like it.
from identityserver3.membershipreboot.
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)
- ReflectionTypeLoadException in ScopeRequirementMiddleware.cs HOT 11
- Configuring MR for sending emails HOT 5
- New Feature: Add HMAC-Based One-time Password (HOTP) and Time-based One-time Password (TOTP) support HOT 1
- Missing Method Exception UserAccountService.CreateAccount for External Provider HOT 14
- Setting up MRB with CustomUserDetails and IdentitySever HOT 4
- Q: when extending model, also generate claims HOT 5
- Nuget package Install on ASP.NET 5 web app fails HOT 6
- Change the error message from "Account is closed" to "Account is inactive" HOT 1
- Login with username or email
- UTC offset applied twice to updated_at claim HOT 10
- adding identityserver3.membershipreboot package in aspnet 5 applications HOT 2
- Performance Query HOT 11
- Potential security issue: Authentication implementation leaks details about existing user accounts HOT 2
- Configuring MR for Authentication Audit Event Handler HOT 3
- The operation cannot be completed because the DbContext has been disposed. HOT 1
- Capturing All Events in Audit Trail HOT 8
- Should unverified accounts return their claims when UserInfo is requested? HOT 5
- Adding new user via External Provider - saving their claims HOT 1
- Claims Being Dropped HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from identityserver3.membershipreboot.