Comments (8)
Hi @CoderNumber1 -- In our next release we have opened up our response generation to be extensible to allow thing like your request:
from identityserver.
Well, we were going to wait until we got feedback. So that's a start. Have a deeper look and provide some ideas on how we would need to change it so you can extend what you need/want to.
from identityserver.
@brockallen fantastic timing! We'll be keeping a close eye on 7.0
then!
I was looking over the changes in that PR, and I have a follow-up question. Looking at the current default IEndpointResultGenerator<AuthorizeResult>
implementation it would still be an internal class as of right now. Meaning we could inject our own IEndpointResultGenerator<AuthorizeResult>
, but we would need to duplicate the entirety of the behavior that the current default exhibits in order to override the subset that returns the form post response.
Are there any plans to make that a public class, and possibly make some of the currently private
methods protected virtual
, such as GetFormPostHtml
?
from identityserver.
@CoderNumber1 - any further thoughts on what you'd like to be able to extend in the result generators?
from identityserver.
My apologies, I've been buried and this fell off my radar.
In particular all I really need is to be able to extend on the current AuthorizeResultGenerator
is the GetFormPostHtml(AuthorizeResponse response)
method. I don't even really need to be able to override the entirety of the response, just inject additional content for the body of the page. If that method were protected virtual
instead of private
I could just inherit from the existing implementation and override the one method. This would save me from having to implement the entirety of IEndpointResultGenerator<AuthorizeResult>
for a change to one type of response it generates.
What we're really after at the end of the day is to place our logo and a message into the body of that html so that the user sees something besides a blank page while they're waiting on the target application to load if it's slow in responding.
from identityserver.
No problem @CoderNumber1 - we appreciate your feedback!
@brockallen, let's discuss this.
from identityserver.
Yea, I guess we could add nop virtuals for things like AddHtmlHead and AddHtmlBody. Is this the kind of thing you're looking for @CoderNumber1?
from identityserver.
Yeah I think that might give us what we're looking for.
from identityserver.
Related Issues (20)
- Adding a JSON claim to the JWT/Userinfo endpoint is a bit unintuitive because of different valueType constants HOT 7
- Back channel logout token might incorrectly contain `logout_token` as `iss` HOT 5
- Polling interval and throttling service
- Updating signing in build pipeline
- Unify EF Test Infrastructure
- Support absolute expiration of server side sessions when CoordinateLifetimeWithUserSession is enabled
- Consider marking the IdentityServer session cookies with `__Host` prefix
- OpenTelemetry Metrics Naming HOT 5
- Evolve IConcurrencyLock.Unlock to allow asynchronicity
- Raise an error if the idp doesn't match the requested idp HOT 2
- duende.identityserver is missing NuGet package README file
- Consider different approach for optional services from DI HOT 1
- Filter subject tokens (from token exchange) from logs HOT 4
- Check for empty ClientIds and Types collections in PersistedGrantFilter HOT 2
- Rewrite LicenseValidator.ValidateClient to not use ConcurrentDictionary HOT 1
- Consider post-quantum cryptography sample
- Consider allowing customization of PromptValuesSupported
- Consider allowing multiple IEventSink registrations HOT 2
- Investigate support for X509 Certs and EC Keys HOT 1
- CryptographicException while calling /.well-known/openid-configuration (.NET 8) HOT 14
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 identityserver.