1

Here's the situation and what should i do now

and it worked great, I got the token. But now what, how do i set the Single Sign On cookie that ADFS 2.0 sets FedAuth,FedAuth1

rbrayb
  • 46,440
  • 34
  • 114
  • 174
Deeptechtons
  • 10,945
  • 27
  • 96
  • 178
  • Just to clarify - you now have a token in the relying party application and want to set a session cookie? – leastprivilege Jan 17 '13 at 19:58
  • @leastprivilege hmm nope. I have a token from the ADFS, what do i do next, how do i set the Single Sign On cookie that ADFS sets if i had done these extra stuff – Deeptechtons Jan 18 '13 at 13:17
  • "I have a token from the ADFS" - where is that code physically running? – leastprivilege Jan 18 '13 at 13:58
  • @leastprivilege thanks for getting back, the code is running in the customized ADFS `FormsSignIn.aspx` page, that has been modified to authenticate against SQL for authentication but also authenticates against ADDS – Deeptechtons Jan 18 '13 at 14:28

1 Answers1

1

You ultimately need to call SignIn on the base class passing in either a token or a username/password of an AD account. That's all you can do.

leastprivilege
  • 18,196
  • 1
  • 34
  • 50