Questions tagged [sts-securitytokenservice]

Security Token Service. A web service where a user (or client software) presents some form of credentials (e.g., username/password), and if valid the result is a 'security token' that can be used to access a web application or web service. Often used for implementing single sign-on (SSO).

Security Token Service: A web service where a user (or client software) presents some form of credentials (e.g., username/password), and if valid the result is a 'security token' that can be used to access a web application or web service. Often used for implementing single sign-on (SSO).

167 questions
36
votes
5 answers

Error - A SignInResponse message may only redirect within the current web application - MVC 2.0 application

I have a situation where we have a MVC 2 application(I tried this with a basic MVC 2 app without any extra stuff, still same problem) and am using adfs 2 for authenticating my users. So.. Now I get into my application and I get the below.. ID3206: A…
8
votes
1 answer

What's the functionality of AWS_SESSION_TOKEN returned from STS API?

aws sts assume-role returns three fields as the issued Temporary Security Credentials. AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN The first two are with the same format of a user's Access Key, but the 3rd field, AWS_SESSION_TOKEN,…
chen
  • 4,302
  • 6
  • 41
  • 70
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
7
votes
5 answers

WCF Interop with Axis2 using WS-Trust

We are trying to get WCF and Java talking to each other using SAML tokens issued from an STS. Despite the fact that both sides are compliant with the standards, WS-Security, WS-Trust, WS-Policy, etc., they don't seem to talk to each other and one or…
Greg Ennis
  • 14,917
  • 2
  • 69
  • 74
6
votes
4 answers

Is WIF a good option for securing WCF 4.0 Restful service with iPhone

I have a project which needs to expose WCF restful service to iphone/ipad Client. The WCF worked, now i need to secure it with username and password. For some reason i am a little reluctant to go with CustomBasicAuth Oauth is also not ideal in WCF…
D.J
  • 2,534
  • 4
  • 28
  • 43
6
votes
2 answers

Implementing claims-based security (WCF/ASP.NET)

After researching on the topic of claims-Based security (or a federated security model). I've been coming across many examples that use CardSpace as an example. The main article that I read that gave a really great explanation of the subject was a…
6
votes
1 answer

Why does my STS client get this error? "The value of the 'type' property could not be parsed.Verify that the type attribute of 'issuerNameRegistry..."

I frequently encounter this error and my efforts had not any result. Error : ID8030: The value of the 'type' property could not be parsed.Verify that the type attribute of 'issuerNameRegistry type="Webapp1.TrustedIssuerNameRegistry,webapp1"…
5
votes
3 answers

Custom WIF Request Validator Infinite Loop

While fixing the problem described here, I created another that I can seem to find anywhere else on the web: SignInResponseMessage message = WSFederationMessage.CreateFromFormPost(context.Request) as SignInResponseMessage; The above code keeps…
5
votes
2 answers

Authentication when using Security Token Service

I have created a Security Token Service (STS), an service with a reference to the STS and an example desktop application. This works as expected when using Windows authentication and Message security, a token is retrieved from the STS and the…
Alex
  • 811
  • 2
  • 11
  • 23
5
votes
3 answers

Decoding an AWS Session Token

We are using AWS Cognito Federated Identities to obtain a Session Token from the AWS Security Token Service, then leverage for securing our APIs via API Gateway. This is working well. But within our web service, we sometimes must obtain the issuer…
Randy Leonard
  • 655
  • 7
  • 21
5
votes
2 answers

SAML token size and REST

We are implementing STS (claim based authentication) for the the REST based services. One of the reasons amongst many when we decide to create REST services (with JSON) was the small footprint over the wire. With STS, the SAML token with just a few…
amit_g
  • 30,880
  • 8
  • 61
  • 118
5
votes
1 answer

Expiring Claims with windows identity foundation and mvc

I've got a very basic application that is correctly redirecting to my STS and back again after successful authentication. There's a couple of areas that I'm currently unsure as to how they work, and hoping some light can be shed on them. 1) How do…
RubbleFord
  • 7,456
  • 9
  • 50
  • 80
4
votes
1 answer

Owin WS-Federation setting up token sliding expiration

Can somebody explain how to implement sliding expiration using the new Owin WS-Federation plugin? On the client side, at WS-Fedeartion configuration I see that there are some events like : Notifications = new…
Cristian E.
  • 3,116
  • 7
  • 31
  • 61
4
votes
2 answers

What does WS-Federation really do (in depth and by a simple & understandable example)?

I have read some text about WS-Fedaration but i can not understand it. I have some questions : What would happen if there were no WS-Federation? How does it help to Single Sign-on? What is the difference between WS-Trust and WS-Federation? I just…
4
votes
1 answer

ASP.Net WebApi Authentication and Security

I have been looking at the Thinktecture.IdentityModel.40 library as a way of handling the security of my Asp.Net WebApi. One point I don't understand is the following, and this is my question. When the user authenticates the first time, they need to…
1
2 3
11 12