Open Closed

Identity server resolving URL from HttpContext and failing #1937


User avatar
0
nowayja created

ABP 4.3.3 Blazor WASM

We have a key client who host the ABP solution on Azure behind a proxy. Most urls are working correctly and set correctly in the IdentityServerClient tables. However Https:// ..... .well-known/openid-configuration is returning the forbidden URL of the Azure host rather than the poxy public facing address {"issuer":"https://restructed URL Behind the proxy ..... Rather than the correctly set URL in the database.

We are completely blocked from deploying because of this and looking at a short term hack of the identity server to get us live. It looks like the Identity server is using HttpContext.Request.Host rather than the database URL to set the URL values.

Do you have a simple way to override this with some kind of appsetings or DB setting.

Hope this makes sense, all other URLs are correct, just the Open ID ones are getting the server address behind the proxy rather than the public address.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    https://github.com/IdentityServer/IdentityServer4/issues/4535 https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balancer?view=aspnetcore-5.0

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11