Skip to content

Commit

Permalink
do not remove thirdparty cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Nov 29, 2022
1 parent e2c6d49 commit 461fc23
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions auth/browser/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@ func extractToken(uri string) (string, error) {
func convertCookies(pwc []playwright.Cookie) []http.Cookie {
var ret = make([]http.Cookie, 0, len(pwc))
for _, p := range pwc {
if !strings.HasSuffix(p.Domain, slackDomain) {
// ignoring filth (thirdparty tracking cookies)
continue
}
ret = append(ret, http.Cookie{
Name: p.Name,
Value: p.Value,
Expand Down

0 comments on commit 461fc23

Please sign in to comment.