Base solution for your next web application
Open Closed

OpenID Configuration is not redirecting back to Angular site after Login #7418


User avatar
0
ibtikar created

Dear Everyone

we are implementing a system based on connection to Identity Server 4 and i am trying to configure it in application.json located in the ProjectName.Web.Host.

the configuration is as follows

"OpenId": { "IsEnabled": "true", "ClientId": "angularclient", "Authority": "https://localhost:5001", "LoginUrl": "https://localhost:5001/Account/Login" }

the icon is appearing in the Angular Login Page and it redirects to the Login Page of the Identity Server but after login successfully, th Login is not redirected back to Angular Site.

instead it is redirecting to the Identity Server Home Page.

am i missing and configuration, Please advice.

Regards Ali


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

    May be related to this issue. https://github.com/aspnetzero/aspnet-zero-core/issues/2347