Comments (8)
What do you want to do in OnValidateIdentity
?
from identityserver3.accesstokenvalidation.
We transform the identity to include more information not directly embedded
in the token, if I recall correctly.
On Thursday, October 29, 2015, Dominick Baier [email protected]
wrote:
What do you want to do in OnValidateIdentity ?
—
Reply to this email directly or view it on GitHub
#50 (comment)
.
from identityserver3.accesstokenvalidation.
This would really be the job of claims transformation middleware...
https://github.com/IdentityModel/Owin.ClaimsTransformation
from identityserver3.accesstokenvalidation.
There is some other validation logic we put in there. We check the user has
not been locked out in the local system (we support this in the local
application).
This seems the logical place to put it.
As far as I can tell the callback is invoked if ValidationEndpoint is used.
Is that correct?
On Thursday, October 29, 2015, Dominick Baier [email protected]
wrote:
This would really be the job of claims transformation middleware...
https://github.com/IdentityModel/Owin.ClaimsTransformation
—
Reply to this email directly or view it on GitHub
#50 (comment)
.
from identityserver3.accesstokenvalidation.
No - I don't think I call it at all. I can have a look tomorrow.
from identityserver3.accesstokenvalidation.
If IOAuthBearerAuthenticationProvider
is the interface offered in the options it's expected that it is the interface supported.
a) Is it only partially supported?
2) Would you accept a pull request to support all of it?
d) would you prefer replacing IOAuthBearerAuthenticationProvider
In the options with a Func<>
for each of the methods you do invoke?
from identityserver3.accesstokenvalidation.
I will have a look as soon as I find time -
tracking it here:
from identityserver3.accesstokenvalidation.
i just pushed v2.2.2 to nuget - that should make your scenario work.
from identityserver3.accesstokenvalidation.
Related Issues (20)
- Restrict issuer when using discovery document HOT 1
- Access token validation gives no indication when a token has failed HOT 1
- How to debug/trace if validation fails
- Unexpected file version of IdentityServer3.AccessTokenValidation involved in build warning HOT 2
- NotImplemented exception on Mono HOT 1
- Performance issues with ValidationMode.Local HOT 6
- Access token validation with legacy IIS hosted web API
- Customize Error Handling for HTTP Calls.
- Add UserInfo claims to User.Claims HOT 4
- 401 While using IdentityServer and the protected WebApi in the same app
- 2.15 causes deadlocks/hangs under heavy load HOT 10
- Adding option for configuring IntrospectionEndpoint
- Web Api with IS3 authenticate with IS4 Server HOT 2
- AccessTokenValidation - HTTPClient Socket connection timeouts HOT 1
- Set AccessToken Validation on a .net wepapi 2 with Identity server 4 HOT 1
- TypeLoadException when we use Microsoft.Owin 4 HOT 5
- Strict dependency on IdentityModel (>= 1.9.2 && < 2.0.0) makes upgrade to IdentityModel 2.12.0 not possible
- Define multiple issuers in TokenValidationParameters
- Sending JWT token to resource server - permission denied HOT 10
- How to know Identity server is down using app.UseIdentityServerBearerTokenAuthentication( New IdentityServerBearerTokenAuthenticationOptions() HOT 1
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.accesstokenvalidation.