Open Closed

Site redirecting to authserver 400 when deployed to IIS server #4638


User avatar
0
isteer created

Hello Team,

OUR ABP CONFIGURATION:

ABP Framework version: v7.0.0 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): Tiered MVC Exception message and stack trace

We have deployed our ABP application on IIS server, we have tiered MVC application so we hosted all ports:

  1. Auth server (port - 44349) : hosted on https://authserver.stage.careermaps.co.uk/ on IIS
  2. Swagger (port- 44324) : hosted on https://host.stage.careermaps.co.uk/
  3. Web-App (port 44389) : hosted on https://web.stage.careermaps.co.uk/

The issue is when we open https://web.stage.careermaps.co.uk/ this site it redirect us to on this URL : https://authserver.stage.careermaps.co.uk/Error?httpStatusCode=400

We have modified table [OpenIddictApplications] with live URLs as well :

For our web app :

GTCManagement_Web: PostLogoutRedirectUris : ["https://web.stage.careermaps.co.uk/signout-callback-oidc"] RedirectUris : ["https://web.stage.careermaps.co.uk/signin-oidc"] ClientUris : https://web.stage.careermaps.co.uk/

For our swagger app : GTCManagement_Swagger: PostLogoutRedirectUris :NULL RedirectUris : ["https://host.stage.careermaps.co.uk/swagger/oauth2-redirect.html"] ClientUris : https://host.stage.careermaps.co.uk

Don't know if anything needs to change for AUTH server.

Please help us or share some direction to resolve this, we are using redis cloud here.

Steps to reproduce:

  1. open https://web.stage.careermaps.co.uk/
  2. It will redirect to https://authserver.stage.careermaps.co.uk/Error?httpStatusCode=400

All URLs : https://authserver.stage.careermaps.co.uk/ https://web.stage.careermaps.co.uk/ https://host.stage.careermaps.co.uk


No answer yet!
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54