1

I am trying to implement claims based authentication in SharePoint which is configured in 2 different servers, previously it was in one server and it worked fine with a custom STS(.net mvc application) provider.

Now I have followed same steps to configure custom STS(.net mvc application) on SharePoint Server 1, but the token is not accepting by SharePoint its again redirecting to custom STS provider.

sharepoint.com -> redirecting to CustomSts.com (authentication done) posting token to sharepoint.com but sharepoint.com is again redirecting to CustomSts.com (as already authenticated ) its redirecting to sharepoint.com. cycle repeats, that should not be happen

Is there any solution for this?

1

The token seems to be expiring . Set the customConfiguration.DefaultTokenLifetime = new System.TimeSpan(8, 0, 0); Refer the link : http://blogs.perficient.com/microsoft/2010/12/sliding-sessions-with-sharepoint-2010-and-claims/. Also Refer the steps taken in this post : SharePoint 2013 ADFS login local token cache always expired

| improve this answer | |
  • am using Asp.net for CUstomSTS provider – Sai Kumar Nov 27 '13 at 18:49
1

Issue got fixed by maintaining same time in 2 sharepoint servers and CustomSTS server.

Actually one of the sharepoint server time is different from customSTS server time so, sharepoint application is treating that incoming claims are expired after login, so its again redirecting to CustomSTS server for live claims. We maintained the same time between the servers, this fixes our issue.

Thanks friends for helping.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.