Aguafrommars / TheIdServer

OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
https://theidserver-duende.herokuapp.com/
Apache License 2.0
689 stars 81 forks source link

Failed to run as a self-contained app in Aguacongas.TheIdServer project #1049

Closed anjanasagathiya closed 1 year ago

anjanasagathiya commented 1 year ago

I am trying to build and run this repository in my local machine. So it is built successfully in my machine but when I am trying to run the application I am getting this error.

A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'D:\AdminUI\TheIdServer\src\Aguacongas.TheIdServer\bin\Debug\net7.0\'. Failed to run as a self-contained app.

I have tried to clean and rebuild the solution but it is not resolved. FYI, I have set the below project as start up projects

  1. Aguacongas.TheIdServer
  2. Aguacongas.TheIdServer.BlazorApp
  3. Aguacongas.TheIdServer.Duende

Can you please help me to resolve this issue?

aguacongas commented 1 year ago

Hi, thx to contribute.

You just need to start Aguacongas.TheIdServer.Duende, check the launchSettings.json to start the project on port 5443 for HTTPS. Aguacongas.TheIdServer cannot be started it's a lib.
Aguacongas.TheIdServer.BlazorApp can be started but it's not configured by default. The app is hosted in Aguacongas.TheIdServer.Duende.

anjanasagathiya commented 1 year ago

@aguacongas Just want to know Can we use this Admin UI with our existing duende.identityserver or it is worked for only TheIdServer?

NOTE:- We are already using the duende.identityserver in our projects. So we are looking for only AdminUI integration for duende.identityserver sothat we can easily add,update or delete the identity configuration in our database. So let us know that Does your AdminUI compatible with our Identity Server? If yes then How can we integrate AdminUI with our existing Identity Server?

aguacongas commented 1 year ago

No you cannot use the Admin UI for an existing duende.identityserver because it uses its WebAPI and its stores. But you can use your existing duende.identityserver as an external provider. Or you can copy your existing configuration to your instance of TheIdServer.

ekjuanrejon commented 8 months ago

can be Aguacongas.TheIdServer.BlazorApp disabled from load in duende and only have duende enabled? Aguacongas.TheIdServer.BlazorApp i want it to be private..?

is it possible?

aguacongas commented 8 months ago

@ekjuanrejon. Use the MultiTiers sample then