Git Product home page Git Product logo

Comments (8)

leastprivilege avatar leastprivilege commented on May 24, 2024

What do you want to do in OnValidateIdentity ?

from identityserver3.accesstokenvalidation.

CrescentFresh avatar CrescentFresh commented on May 24, 2024

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.

leastprivilege avatar leastprivilege commented on May 24, 2024

This would really be the job of claims transformation middleware...

https://github.com/IdentityModel/Owin.ClaimsTransformation

from identityserver3.accesstokenvalidation.

CrescentFresh avatar CrescentFresh commented on May 24, 2024

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.

leastprivilege avatar leastprivilege commented on May 24, 2024

No - I don't think I call it at all. I can have a look tomorrow.

from identityserver3.accesstokenvalidation.

CrescentFresh avatar CrescentFresh commented on May 24, 2024

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.

leastprivilege avatar leastprivilege commented on May 24, 2024

I will have a look as soon as I find time -

tracking it here:

#51

from identityserver3.accesstokenvalidation.

leastprivilege avatar leastprivilege commented on May 24, 2024

i just pushed v2.2.2 to nuget - that should make your scenario work.

from identityserver3.accesstokenvalidation.

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.