0
votes
1answer
39 views

SPContext on Forms login page

How can I get the SPContext on the forms login page (/_forms/default.aspx)? Looking up SPContext.Current or SPContext.GetContext(HttpContext.Current) is always null. I need to retrieve the parent ...
1
vote
0answers
50 views

SAML authentication not working properly for the roles

I am facing an issue regarding the authentication in SP 2010. The scenario is below: WindowsTokenLifetime, FormsTokenLifetime and ServiceTokenLifetime are set to 365 days. Login with the user on ...
2
votes
2answers
2k views

FedAuth cookie set to expire only 10 hours after creation

I've written a custom login script for my Forms Based Authentication SharePoint 2010 Server website, which allows my users to enter credentials for one of our products, and map them to a FBA user ...
3
votes
1answer
517 views

FBA SharePoint 2010 and login in Word

I have tried to get into Claim based authentication using FBA as with AspNetSqlRoleProvider and AspNetSqlMembershipProvider, I got it up and running. But there is one issue I can't get my head around. ...
1
vote
1answer
3k views

Code to create a security token isn't working

I've been developing a SharePoint Server 2010 site, which uses Forms Based Authentication. As part of my custom login script, I used the following C# code: System.IdentityModel.Tokens.SecurityToken ...