Single Sign-On between sharepoint 2010 web application and asp.net mvc web application deployed as seperate website on IIS 7 -


i have developed poc check possibility of sharing authentication cookie between sharepoint web application , asp.net mvc web application achieve single sign-on quite few resources on web shows possible, please see http://labs.3pillarglobal.com/wp-content/uploads/2012/12/single-sign-on-white-paper.pdf document see implementation steps required implement same.

my sharepoint web application using claims based authentication forms based auth , ad membership provider. asp.net mvc web application using forms based authentication active directory membership provider. ‘d make sure both application should have same machine key defined in web.config cookies encrypted 1 application can decrypted other application specified in single-sign-on document.

sharepoint web application hosted on localhost:7070. asp.net web application hosted on localhost:8081 on local machine.

after implementing concept on local machine specified in document, when first opened asp.net mvc web application redirect me login page supplied active directory user credential , once authenticated redirect me home page. on page have link sharepoint web page when click on link, i've below expectation:

  1. when clicked on sharepoint web page link same cookies (generated when authenticated asp.net mvc app) should passed sharepoint web application. have checked fiddler – same cookies being passed both web app.

  2. sharepoint web page should opened same user not happening. i’m getting following error. i’m guessing due sharepoint web app unable decrypt cookies.

exception of type 'system.argumentexception' thrown. stack trace indicating error in microsoft.sharepoint.administration.claims.spclaimencodingmanager.decodeclaimfromformssuffix(string encodedvalue)

please me on this. please let me know in case of information missing or information required.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

jquery - Keeping Kendo Datepicker in min/max range -