I have setup my ACS in Azure.
I have created a MVC 4 WebAPI Project.
I have added “Identity and Access” in visual studio 2012.
This are running. but when i lauch the application i get the following:
ID4014: A SecurityTokenHandler is not registered to read security token (‘BinarySecurityToken’, ‘http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd’).
The problem is that i told ACS to use SWT instead of SAML 2.0. From what I have seen in guides about securing a restfull wep api, swt was the way to go.
If i change to SAML 2.0 it all works in the web interface. But how will this work out when i write a client for Windows Store (Metro) or other clients to get data from the WebAPI part of the project?
Any advice to continue. Should I use SWT, and how do it make it work. Should I use SAML 2.0 and what should i then handle the authenticaitno later in a Windows Store Client?
I found a nuget packaged wif.swt that enabled swt tokens.