Hello,
I am using .NET Framework 4.5.1 (so no WIF here) to create a custom STS implementation. This is based loosely on the code from this project:
My version of the STS perform standalone authentication using claims pre-stored in a SQL database (this data is a mix of Windows Auth and OAuth information). For now, I havent plugged it into this SQL database, but proceeding with dummy claims until I can get this up and working.
When I use the "Issue" endpoint to generate the STS tokens, I get this exception:
------------------ EXCEPTION ---------------------------------
Server Error in '/' Application.
A SamlAssertion requires at least one statement. Ensure that you have added at least one SamlStatement to the SamlAssertion you are creating.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentException: A SamlAssertion requires at least one statement. Ensure that you have added at least one SamlStatement to the SamlAssertion you are creating.
Source Error:
|
------------------------------------------------------------------
Any pointers?
Regards,
Sujay
----------------------- Sujay Sarma {Unbounded;}