skoruba / Duende.IdentityServer.Admin

The administration for the Duende IdentityServer and Asp.Net Core Identity ⚡
Apache License 2.0
556 stars 194 forks source link

Where is the vc:identity-server-link defined #104

Closed MarioBinder closed 1 year ago

MarioBinder commented 1 year ago

Where is the vc:identity-server-link defined

Where can I change the url for the identityserver in the AdminUI? Currently, is the example url https://localhost:44310/ defined.

I found this in the _Layout.cshtml

   <vc:identity-server-link></vc:identity-server-link>

But where can I find this custom control?

eminmesic commented 1 year ago

@MarioBinder this is the component code: https://github.com/skoruba/Duende.IdentityServer.Admin/blob/main/src/Skoruba.Duende.IdentityServer.Admin.UI/ViewComponents/IdentityServerLinkViewComponent.cs

As you can see it is loading IdentityServerBaseUrl from configuration file. So, you can find that value in the following file at line 23:

https://github.com/skoruba/Duende.IdentityServer.Admin/blob/main/src/Skoruba.Duende.IdentityServer.Admin/appsettings.json

MarioBinder commented 1 year ago

@MarioBinder this is the component code: https://github.com/skoruba/Duende.IdentityServer.Admin/blob/main/src/Skoruba.Duende.IdentityServer.Admin.UI/ViewComponents/IdentityServerLinkViewComponent.cs

As you can see it is loading IdentityServerBaseUrl from configuration file. So, you can find that value in the following file at line 23:

https://github.com/skoruba/Duende.IdentityServer.Admin/blob/main/src/Skoruba.Duende.IdentityServer.Admin/appsettings.json

Thank you!