-
I'm using the reverse proxy to add Azure ADB2C authorization to a legacy web site that is too old and fragile to add native support for OAuth. A proof of concept test works well; authorization happens in the proxy prior to any requests being forwarded to the proxied site. The problem I face now is telling the proxied site who the authenticated user is. Seems to me that adding some headers to the forwarded request is the most straightforward way. However, this requires the ability to add headers dynamically. I see that's on the 1.0 backlog as issue #60 . I really need to get this working ASAP, even if I have to hack something up for the time being and change the code later, once it's a supported feature. Any advice on how I should approach this? Is there any undocumented extensibility point I could make use of? I have not yet downloaded the source and tried to compile it, but that's my next step today. I don't see any pull requests for this feature. I certainly would be willing to contribute to the project if anything I come up with is deemed useful. Thanks in advance for any advice or guidance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
See #375 for some related suggestions. |
Beta Was this translation helpful? Give feedback.
-
Thanks very much. The example in #375 works perfectly to add headers dynamically. Not sure what #60 would offer beyond this. This whole reverse proxy thing fills a huge need we have, and the fact that it will be a supported thing in .net is a big plus over rolling my own, or using someone else's code. Many thanks to all of you working on this project. |
Beta Was this translation helpful? Give feedback.
See #375 for some related suggestions.