Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8591789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:36:10+00:00 2026-06-11T23:36:10+00:00

I have setup my ACS in Azure. I have created a MVC 4 WebAPI

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T23:36:11+00:00Added an answer on June 11, 2026 at 11:36 pm

    I found a nuget packaged wif.swt that enabled swt tokens.

     <microsoft.identityModel>
        <service saveBootstrapTokens="true">
          <audienceUris>
            <!--<add value="http://traffictheory.cloudapp.net/" />-->
            <add value="http://77.55.160.102:48451/" />
          </audienceUris>
          <issuerNameRegistry type="Microsoft.IdentityModel.Swt.SwtIssuerNameRegistry, Wif.Swt">
            <trustedIssuers>
              <add thumbprint="033F53598E4ED92E51C07238E36BBFF4E67ABAD2" name="https://traffictheory.accesscontrol.windows.net/" />
            </trustedIssuers>
          </issuerNameRegistry>
          <claimsAuthenticationManager type="S_Innovations.TrafficTheory.Web.Security.TrafficTheoryClaimsAuthenticationManager, S-Innovations.TrafficTheory.Web.Security" />
          <federatedAuthentication>
            <cookieHandler requireSsl="false" />
            <wsFederation passiveRedirectEnabled="true" issuer="https://traffictheory.accesscontrol.windows.net/v2/wsfederation" realm="http://77.55.160.102:48451/" reply="http://77.55.160.102:48451/" requireHttps="false" />
          </federatedAuthentication>
          <certificateValidation certificateValidationMode="None" />
          <securityTokenHandlers>
                <add type="Microsoft.IdentityModel.Swt.SwtSecurityTokenHandler, Wif.Swt" />
            </securityTokenHandlers>
            <issuerTokenResolver type="Microsoft.IdentityModel.Swt.SwtIssuerTokenResolver, Wif.Swt" />
          <!--<serviceCertificate>
            <certificateReference findValue="‎417DE8DCA4326B845C189BDE0990673433435524" storeLocation="LocalMachine" storeName="My" x509FindType="FindByThumbprint" />
          </serviceCertificate>-->    
        </service>
      </microsoft.identityModel>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have setup ACS on Azure and enabled WIF on my MVC 4 site
I have setup an app project and a static project in a workspace in
I have setup .htaccess to redirect me.example.com to example.com/fun/index.php. This index.php has a session.
I have setup all the things for Windows Azure and Drupal. But, when I
I have setup my project in SVN to use an external library. When I
I have setup globalization on my web page and have this piece of code
I have setup url routing in my ASP.NET 4 project, which works perfectly offline.
I have setup my versioned API like this with only a small tweak for
I have setup Cruise Control.Net 1.6.7981.1 for a ASP.Net project. It is currently building
I have setup a Netbeans project having as development host a remote machine. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.