SameSite issues in Safari Browser (reference #RM5975) - Mailing list pgadmin-hackers

From Rahul Shirsat
Subject SameSite issues in Safari Browser (reference #RM5975)
Date
Msg-id CAKtn9dNqZqKbOuwaE5Y94+_WG=NqTh+=oj1vYvdcbq7501b_NQ@mail.gmail.com
Whole thread Raw
Responses Re: SameSite issues in Safari Browser (reference #RM5975)  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Re: SameSite issues in Safari Browser (reference #RM5975)  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi Dave,

Due to SameSite security issues in Safari Browser, some of the pgadmin4 functionality isn't working (mostly the new tab functionality).

The affected Safari Browser versions (marked in red) currently tested upon are:
  1. v11.1.2
  2. v12.1
  3. v12.1.1
  4. 13.1
  5. 14.0.1
Since v12, Safari have done some security fixes, due to which this issue has occurred. Strangely, the issue is not reproducible on v13, but reproducible on its successor i.e. v14

Possible solutions could be:
  1. Reporting this to Safari & raising an RM for tracking purposes.
  2. Suggesting Safari users to make below changes in config.py or config_distro for the work around:
SESSION_COOKIE_SAMESITE = None
SESSION_COOKIE_SECURE = True

(As we aren't going through any cross-site cookie transfer, this can be a handy option - but still risky..)

I would suggest going with the 1st option or combination of both, but with caution.

--
Rahul Shirsat
Software Engineer | EnterpriseDB Corporation.

pgadmin-hackers by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: RHEL 7 + pgAdmin 4.28
Next
From: Akshay Joshi
Date:
Subject: Re: SameSite issues in Safari Browser (reference #RM5975)