IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Redesign introspection response generator

Open leastprivilege opened this issue 10 years ago • 5 comments

especially the response...

leastprivilege avatar Nov 28 '16 19:11 leastprivilege

I'd like to see an enhancement where an equivalent JWT was optionally added to the response. If not that functionality directly, at least the ability to extend the existing functionality without having to replace the entire IntrospectionResponseGenerator.

I made a case for this functionality in #807 with API Gateways. Beyond that, I think it would benefit any situation where reference tokens are being combined with a poor man's delegation scenario. An example of this would be a public facing API that relies on a internal API for authorization. Sending the reference token to the internal API requires an additional introspection step. It would be great to be able to forward a JWT (which could be returned from the original introspection step) from the public API to that internal API.

cbeall avatar Feb 12 '17 17:02 cbeall

  • follow same pattern as the other endpoints
  • move all response generation into response generator (including error responses)
  • make IntrospectionResponse smarter (e.g. aware of JObject etc)

will be a breaking change.

leastprivilege avatar Mar 01 '17 11:03 leastprivilege

see #1001

leastprivilege avatar Mar 30 '17 06:03 leastprivilege

PR done

leastprivilege avatar Mar 30 '17 16:03 leastprivilege

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 14 '20 21:01 lock[bot]