Try our conversational search powered by Generative AI!

Problem with custom Authenticationprovider, HTTPS and missing IPrincipal

Vote:
 
We have developed a solution where we use BankID as a user authentication mechanism and where all communication are conducted over SSL and where we connects the certificate info to a user in EPiServer. Everything works in the development environment and the user is authenticated and logged in just as expected, but when we apply the solution to our production environment the user is authenticated correctly and the IPrincipal object is returned to EPiServer but when the Respone.Redirect to the url that HandleLogin returns is fired the user is returned to the login page as nothing have happened and the user in the context are back to Anonymous. Has anybody encountered this problem before? Best Regards /Johan
#13163
Aug 15, 2007 11:34
Vote:
 
Problem solved, was due to the fact that different Windows 2003 servers handles cokkies differently and accepts different lengths.
#15484
Sep 20, 2007 9:24
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.