Starts in:
2 DAYS
4 HRS
30 MIN
33 SEC
Starts in:
2 D
4 H
30 M
33 S
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 v9.1.0-preview. Updated on November 20, 2024, 13:06