Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IdentityServer 4 using IIS

I'm trying to work with IdentityServer 4. For now I'm using this link https://github.com/IdentityServer/IdentityServer4.Samples as example.

My problem is that using http://localhost:22530/ IdentityServer loading and works, but using it as hosted website on my IIS under http://identity.test.dev it is not loading.

I already tried to run code from this example https://github.com/IdentityServer/IdentityServer4.Samples/tree/dev/Mvc/src/IdSvrHost and it doesn't work.

How can I start IdentityServer under IIS via http://identity.test.dev?

like image 747
Vladimir Rodchenko Avatar asked May 16 '16 15:05

Vladimir Rodchenko


1 Answers

Looks like I solved my problem.

In example when there is not all folders and files are marked to copy during publishing. This is why I add them, see code below:

project.json

"publishOptions": {
  "include": [
    "wwwroot",
    "UI",
    "damienbodserver.pfx",
    "web.config"
  ]}
like image 90
Vladimir Rodchenko Avatar answered Nov 15 '22 06:11

Vladimir Rodchenko