Questions tagged [wif]

The Windows Identity Foundation is a free Microsoft library that enables claims based authentication and use federated identity/single sign-on in their applications.

The Windows Identity Foundation is a free Microsoft .NET library that enables claims based authentication and use federated identity/single sign-on in their applications.

It is part of Microsoft's wider identity and access management strategy which includes Active Directory Federation Services and Windows Azure Access Control Services.

1279 questions
8
votes
3 answers

ClaimsAuthenticationManager is not invoked

I'm facing a weird issue with the WIF ClaimsAuthenticationManager. I have registered the custom implementatin of the ClaimsAuthenticationManager in the web.config file:
ppoliani
  • 4,792
  • 3
  • 34
  • 62
8
votes
2 answers

Using STS and WCF having issue with unsecured or incorrectly secured fault exception

I'm working with a couple of WCF services all secured using WIF and a STS provider (all using out of the box Microsoft code and examples). These services were all built using .NET 3.5 and have all been recently updated to .NET 4.0. ALL .dlls…
atconway
  • 20,624
  • 30
  • 159
  • 229
8
votes
3 answers

WIF manually generate federationmetadata.xml

I am playing with windows identity foundation and I am trying to create an MVC.NET based Security Token Service and use it as the Single Sign On application. My only problem is that I don't know how to generate the federationmetadata.xml file. Is…
Cosmin Onea
  • 2,698
  • 1
  • 24
  • 27
8
votes
3 answers

Windows Identity Foundation 4.5 Configuration

We have an application that was originally built with .NET 4.0 and WIF 3.5 (1.0?). I'm in the process of converting it to use WIF 4.5 as we've upgraded the app to .NET 4.5. I've got all the code changes made and have been fighting with the…
Craig W.
  • 17,838
  • 6
  • 49
  • 82
8
votes
1 answer

RequestSecurityToken using windows credentials and .net 4.5 WIF

Can anyone point to sample code for actively issuing a RequestSecurityToken using the NT credentials of the Thread.CurrentPrincipal as ClaimsPrincipal? The scenario is an asp.net web app with windows authentication enabled (so there is an…
mdisibio
  • 3,148
  • 31
  • 47
8
votes
4 answers

BootstrapContext is null on ClaimsIdentity

I have created a new ASP.NET MVC application with .NET 4.5. I have successfully set up authentication with an STS. The authentication flow is working fine and I am able to get the ClaimsIdentity, containing the desired claims, on…
8
votes
1 answer

Mixed Mode Federated authentication and Forms Authentication

I am trying to make a mixed mode authentication to be able to put some users on Federated authentications and others on Forms authentication. I am working with WIF, I set up my STS and everything is happy, when I am in federated mode by turning off…
8
votes
2 answers

SessionSecurityTokenHandler trying to decrypt SessionSecurityToken in RSA-encrypted cookie using DPAPI; why?

I have read in MSDN forums, Dominic Baier's blog, and in other sources that DPAPI will not work out-of-the box in Azure, and that one approach to handling federated authentication in any kind of web farm scenario is to replace the DPAPI transforms…
Ben Collins
  • 20,538
  • 18
  • 127
  • 187
7
votes
4 answers

FederatedAuthentication.WSFederationAuthenticationModule is null at runtime

I am trying to subcribe to RedirectingToIdentityProvider event in Application_Start() , but FederatedAuthentication.WSFederationAuthenticationModule is null code protected void Application_Start() { …
VoimiX
  • 1,180
  • 3
  • 16
  • 31
7
votes
1 answer

Implementing SSO in a .NET Web Farm for several e-commerce websites with WIF?

I have what I think is a fairly complicated question so I will do my best to articulate it here. I am looking for a single sign on (SSO) solution. I am aware of many of the options out there but have ruled most of them out as I add criteria that…
ooPeanutButter
  • 433
  • 2
  • 9
7
votes
2 answers

Claims not being passed to a Relying Party in ADFS 2.0

OK, so I'm quite new to the whole world of claims aware applications. I was able to get up and running very quickly using Azure ACS but it's been a bit of a different story when trying to use ADFS 2.0 as the identity provider (I want to actually use…
jacderida
  • 565
  • 1
  • 4
  • 14
7
votes
4 answers

What's the best approach to SSO with internal AD users and external users?

We have a web application (asp.net mvc 3) that should support SSO for internal uses via AD. We also have a large community of external users that we want to have SSO for all of our web applications. for example: external_user1 accesses webappA,…
Steve
  • 73
  • 1
  • 3
7
votes
3 answers

Using tokens assigned from an STS to call a WCF service

I've been staring at this all day to no avail and I'm out of ideas. The IP-STS handles the login then passes it down to the RP-STS which fills the token with claims and then onto the Website. this works correctly. I have some WCF functions on the…
Henry
  • 2,187
  • 1
  • 15
  • 28
7
votes
0 answers

How to make Custom STS receive SAML token from client as client credential for authentication?

I have a custom STS service that receives username/password as client credential and generate token if username/password is valid. I do the username/password check in our own user store. However now I need to make my custom STS receive SAML 2.0…
ANewGuyInTown
  • 5,957
  • 5
  • 33
  • 45
7
votes
1 answer

How do I read the "System.ServiceModel" configuration section group from a class library?

Is there any way to access the "System.ServiceModel" client configuaration i.e. app.config in a class based (dll) project?
Lets Do Green
  • 127
  • 11