Base solution for your next web application
Open Closed

SSO with Identity Server #5941


User avatar
0
shimi created

Hi,

Just enabled identity server in api.

IsEnabled": "true", "Authority": "http://localhost: 22743 server is running /",

Server and client root address

  "ServerRootAddress": "http://localhost:22742/",
  "ClientRootAddress": "http://localhost:4200/",

but when trying to login request is posting to http://localhost:22742/ for validating then how identity works. why is it so? 22743 server is running in parallel


2 Answer(s)
  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi @shimi

    In such a scenario one app must act as Identity Server (22743 in your case) and the other app (22742) must connect to identity server using OpenIdConnect.

    So, in this scenario you need 2 apps, one for Identity Server and one for the server of angular app. So, I suggest you to generate two projects, configure one of them as Identity server (22743) and configure other one (22742) to connect to Identity server using OpenIdConnect.

  • User Avatar
    0
    brallierc created

    @ismcagdas

    I am confused by this answer. Does ASPNetZero support SSO across 2 (or more) ASPNetZero apps by configuring one of those apps as the Identity Server and the other Apps connected to it through OpenIdConnect?

    In another post you told the user this wasn't supported