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.
VS2013 & MVC 4 -How to setup thinktecture Embedded STS
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?
Solution 2
OTHER TIPS
Here is how I got this to work:
- From VS 2013(update 2) click "New Project..."
- Select the ASP.NET Web Application template
- Select "MVC" and change authentication to "No Authentication" and click "OK"
- Add references to System.IdentityModel and System.identitymodel.services
- Edit Web.config according to docs
Also add the following to Web.config:
<system.web> <authorization> <deny users="?" /> </authorization> </system.web>
Install the ThinkTecture EmbeddedSTS package from NuGet
- Compile and run!