Question

I am running a project that used the local STS in VS2012 after upgrading to 2013. Now I find out that VS2013 doesn't have a builtin STS server anymore. Looking for alternatives I found this

http://www.nuget.org/packages/Thinktecture.IdentityModel.EmbeddedSts/

I follow the instructions here https://github.com/thinktecture/Thinktecture.IdentityModel/wiki/EmbeddedSts

But it doesn't seem to work. I'm guessing I have to add a Route to my MVC routes or somekind of ignore or something to get it working right.

So has anyone got it working with MVC?

Was it helpful?

Solution 2

I did get it working without adding a route. In addition to the help on the Thinktecture website, I followed the instructions here. Guessing by now you may have resolved this, if not, update the question with the symptoms of the failure.

OTHER TIPS

Here is how I got this to work:

  1. From VS 2013(update 2) click "New Project..."
  2. Select the ASP.NET Web Application template
  3. Select "MVC" and change authentication to "No Authentication" and click "OK"
  4. Add references to System.IdentityModel and System.identitymodel.services
  5. Edit Web.config according to docs
  6. Also add the following to Web.config:

    <system.web> <authorization> <deny users="?" /> </authorization> </system.web>

  7. Install the ThinkTecture EmbeddedSTS package from NuGet

  8. Compile and run!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top