Skip to main content
Filter by
Sorted by
Tagged with
7 votes
2 answers
12k views

I'm setting 2 cookies in response from backend to the browser. One that is secure HTTPOnly (it's refreshToken) and the other one without those parameters so it's accessible to JavaScript (carrying ...
Vergil333's user avatar
  • 673
0 votes
1 answer
213 views

I've already checked out these two SO questions: Can I use localhost as the domain when setting an HTTP cookie? Setting a cookie from a remote domain for local development But I don't want to edit my ...
Munchkin's user avatar
  • 1,109
1 vote
0 answers
179 views

I am using below method to generate signed cookie. HLS files which I am trying to serve via CloudFront are stored in S3 bucket after many levels. /vod/folder1/folder2/folder3/streams/master.m3u8 I ...
Ashish's user avatar
  • 188
-1 votes
1 answer
2k views

I am trying to call this endpoint using a get request. https://disneyland.disney.go.com/availability-calendar/api/calendar?segment=ticket&startDate=2022-09-01&endDate=2022-09-30 When using ...
arcticgalaxy's user avatar
0 votes
0 answers
66 views

I found lots of complex replies for complex situations. Mine is simple. I just need a cookie for the page where is located the contact form: set an expiration time (one hour is more than enough). ...
limakid's user avatar
  • 81
1 vote
2 answers
3k views

We are currently up against an error with our client/api cookie generation. We are using Angular 12 and NGINX for a frontend server running with SSL on a subdomain of cms.domain.co.uk; the backend is ...
morganA's user avatar
  • 11
1 vote
6 answers
2k views

I am working on WordPress multisite, and I have changed the login functionality. However, it needs the users to delete old cookies before using this functionality I have created. So I am trying to ...
Aravind Emmadishetty's user avatar
1 vote
0 answers
731 views

I have a client-server application, and I'm trying to set the access and refresh tokens as cookies in the browser. I set the response headers on the server side and the response looks like this: The ...
Radu Hrihoreanu's user avatar
3 votes
0 answers
659 views

I'm using Devise + Devise JWT with on API-only instance of Rails (7.0.2). We are using secure-cookies to pass our auth token to the frontend and noticed that the response we get after signing in has ...
hummmingbear's user avatar
  • 2,424
8 votes
3 answers
40k views

Explanation here, I sent one get req to ABC.com/Users/Login using Axios after this I sent a post request to ABC.com/Users/Login with form data and Cookie. but it does not work properly. It works ...
Kaushal Gajjar's user avatar
2 votes
1 answer
4k views

I have a backend that responds with a JWT token upon successful authentication. However, for security purposes, the cookie can not be visible from the client-side. Now in the frontend I use react. I ...
thetruth's user avatar
  • 127
0 votes
1 answer
113 views

I have a remember me signed in button where I check if it it set I set the cookies for email and password to put them in their fields later on if the user tried to log on and destroy them if the ...
youssef_tawfik11's user avatar
0 votes
1 answer
783 views

Frond-end: React (react-admin) with Webpack Back-end: NestJS / Express I developed 3 routes (login, check and logout) that are beautifully working with Swagger UI, but when I try to use the 'login' ...
Gustavo Contreiras's user avatar
0 votes
1 answer
192 views

After upgrading to BlackBerry Dynamics for iOS (v10.1.0.36) cookies that previously were being set via the "Set-Cookie" header in the responses are no longer being set. On performing some ...
Calden Rodrigues's user avatar
1 vote
0 answers
2k views

Every request to my API has a retry in case it fails with 401. In that case, it generates a new JWT and returns it from the endpoint.json to the handle function by setting the "event.locals.user&...
Camopy's user avatar
  • 155
0 votes
2 answers
2k views

I created a two simple website in a shared hosting where one can create cookies and another one where it can supposedly get that created cookie, although the first one is creating the cookie the ...
Jonathan Cruz's user avatar
0 votes
0 answers
1k views

I am trying to read a 3rd party domain generated by the 3rd party (i.e. another host which is different from the UI) on the client-side. So, this cookie has the Domain set explicitly to myuihost and ...
copenndthagen's user avatar
0 votes
1 answer
255 views

I am having issues in reading cookies sent/set by the server in the response headers (Set-Cookie) I wanted to understand if the below 2 scenarios constitute a cross-site UI is running on http://...
copenndthagen's user avatar
2 votes
1 answer
4k views

We are trying to test a third party sign in (Single Sign On) flow using Cypress. Cypress blocks cookies sent in third party response when the SameSite attribute is not set when tested with Electron V-...
Nirmala Selvaraj's user avatar
2 votes
1 answer
9k views

public function csrf_set_cookie() { $expire = time() + $this->_csrf_expire; $secure_cookie = (bool) config_item('cookie_secure'); if ($secure_cookie && ! is_https()) { ...
Sharif Ashik Ishtiak's user avatar
1 vote
0 answers
193 views

I'm using method setCookie to set login session on a website with Captcha, but method $page->cookies($url) doesn't return added cookie. How should cookies be set in PHP Puppeteer? $page = $browser-&...
Valeriu Gutu's user avatar
1 vote
1 answer
1k views

I would like to use a SameSite=Strict cookie to mitigate CSRF for GET-requests. The cookie consists of a randomly generated string, and is set the following way: "Set-Cookie: CSRF_TOKEN=...
tobi's user avatar
  • 11
0 votes
2 answers
3k views

I am building a website that will rely on cookies for various things. Then I decided to have a function that sets a cookie then read the same cookie in order to see if the browser allows cookies. But ...
pigfox's user avatar
  • 1,407
2 votes
1 answer
741 views

I have a fully working setcookie() php function running using these params... <?php setcookie( '_siteauth', Crypt::encrypt(site()->password), time() + 86400, '/', ); ?> The code ...
joshmoto's user avatar
  • 5,206
1 vote
1 answer
993 views

I haven't deployed a website since GDPR became a thing and sort of confused with some logic I need to do server and client-side to comply with GDPR. Sorry for the multiple questions here. Currently, ...
mcclosa's user avatar
  • 1,505

1 2 3
4
5
25