Allow full HttpResponse control from IAuthorizeInteractionResponseGenerator
#509
aomader
started this conversation in
Feature requests
Replies: 1 comment 1 reply
-
|
Would you be able to share a bit more on your specific use-case why you would need this level of control? Perhaps there is another way to achieve what you need without resorting to a dirty workaround as you described. Additionally, this level of change would most likely be a breaking one. Since we already released a v8 alpha version for Duende IdentityServer, I am not sure that this change would still make it into the v8 final release. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the
IAuthorizeInteractionResponseGeneratorallows for customizing the user interaction flow by returning anInteractionResponseobject. This object signals to IdentityServer whether to show a login, consent, or error page, or to perform a redirect in an abstract fashion.However, for more advanced scenarios, this model can be limiting. It would be highly beneficial to have a mechanism to completely take over the response generation from within a custom
IAuthorizeInteractionResponseGeneratorimplementation.This feature would involve:
IAuthorizeInteractionResponseGeneratorwith the context of theHttpResponsethat will be sent to the client.returnUrl(which is generated later in the pipeline) to the generator, so it can be used in the custom response.This would enable more complex and customized user interaction flows that are not easily achievable with the current
InteractionResponseproperties.We are dearly in need of such a feature to optimize our response generation without resorting to really dirty workarounds.
Beta Was this translation helpful? Give feedback.
All reactions