SharePoint Server 2013: Unable to login using Google Chrome for Form-Based Authentication

Kok Wei 1 Reputation point
2021-12-02T07:25:38.337+00:00

In our RC environment, we have a custom login page for FBA. When attempting to login with valid username and password using chrome, it redirects back to the same login page.
When I look into the F12 developer tools, there is an error related to the FedAuth cookies.

If I try to login using IE, there is no issue and I am able to login successfully.

For our Prod environment, we have the same login page and when I try to login using chrome, there is no issue and able to login successfully.
I have checked the settings in central admin and seems like the settings are identical in both environment, not sure anything else that I have missed out.
Anyone here encountered the same issue with the FedAuth using chrome?

154401-image.png

Microsoft 365 and Office SharePoint Server For business
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JoyZ 18,111 Reputation points
    2021-12-03T02:07:54.08+00:00

    @Kok Wei ,

    If you are using Chrome version 80 or later, please note the cookie new security feature:

    A cookie associated with a cross-site resource at <URL> was set with the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies.

    To resolve this issue, please install at least May 12, 2020 CU for SharePoint 2013, which will include a fix for the SameSite cookie issue.

    More information for your reference:

    https://techcommunity.microsoft.com/t5/microsoft-sharepoint-blog/effect-on-sharepoint-sites-that-use-adfs-saml-and-forms-based/ba-p/1253873

    https://learn.microsoft.com/en-us/office365/troubleshoot/miscellaneous/chrome-behavior-affects-applications


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.