Category "cookies"

Cookies not loading in discord selenium python

I have such a situation, I log into the discord and then save the cookies with this code pickle.dump (driver.get_cookies (), open (r "cookies_discord.pkl", "wb"

Parsing Javascript cookie values and separating values

I'm still learning Javascript and I'm trying to parse a value from a cookie in a specific key: I'm using this current line: const cookieObj = new URLSearchParam

Error when set sameSite from strict or lax to none - HTTP only cookie - ExpressJS

I am running on a MERN stack project. Back-end runs on port 5000, and front-end runs on port 3000. After I've built to production, I pushed the server file to H

How to get login cookie on tiktok

I want to scrape tiktok comments on apify, but the settings tells me that i need to provide cookies to log in as a normal TikTok user (you can copy with a Chrom

Vaadin Refer to mainLayout from RouterLayout

I need to create a buffer between the application screens. I think to make a buffer in the mainLayout but I can't access it from the child layers I tried to do

Express.js backend not saving cookie to Nuxt.js frontend

I've built an authorization server with Express.js that works when testing with Postman where it saves the access and rotating refresh token as signed cookies.

How to reliably detect an expired Laravel session?

I am working on a web client which does a lot of AJAX request. The backend is written in Laravel. If the backend throws a PHP exception, the backend sends a JSO

Can't delete WordPress cookies

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 functionali

Why browser is not setting the cookie sent from my node js backend?

I'm trying to set a cookie from the backend server running at "api.mydomain.com" like this to the frontend running at "mydomain.com". res.cookie('auth', tok

req.cookies returns [Object: null prototype] {} even if the cookie is set

I try to store and read a cookie via cookie-parser. Setting the cookie is working fine. Its listed under the "Application"-Tab of the dev tools: But if i try t

Response cookie not being set in browser storage

I'm generating a JWT and sending back to the user as a cookie. I see the response cookie in the network, but the brower isn't storing the cookie, which effectiv

How do I set JSON data as a cookie while preserving the indentation?

I'm trying to set a cookie containing some JSON data, but I also need to preserve line breaks. I've got a way of keeping them and rendering them which works fin

How to accept Youtube Cookies Consent with Powershell

Since few days I'm not able to consume any information from Youtube with my Powershell Script, at first the cookies must be accepted in order to see the Videos.

Getting a SameSite cookie issue when trying to load recaptcha api.js in ASP.Net core project

I am trying to add a Google v2 reCaptcha on my ASP.Net Core 6 Web Application and test it on my localhost. When I add the following line: <script src="ht

Separate React app and Laravel 8 api, doesnt set cookie/cors

I have a standalone react app on localhost:3000 using Axios I make a request to my Laravel 8 api using sanctum. The request goes through: But the cookie doesn'

When I am trying get cookies it gives me error as -> TypeError: Cannot read property 'token' of undefined

I have created jwt token as follows: const jwt = require('jsonwebtoken'); const mongoose = require('mongoose'); const bcrypt = require('bcrypt'); const userSc

A cookie is set but cannot be accessed with $_COOKIE; Rejected

I have a cookie set to record an admins location so if they session time out they can access the page they were last on upon re-login or if I send them a link t

Next JS: getServerSideProps cant get cookie [duplicate]

I want to return two cookies, but only one is returned only token cookie, while key cookie cannot be used export async function getServerSideP

Why am I getting "Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute"?

In a Chrome warning, it says: Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use. How do I do

ActionDispatch::Cookies not setting Set-Cookie header in response but response.set_cookie does

I have a Rails 5 API only app and want to send cookies in the response of a JSON request. When I use ActionDispatch::Cookies to set a cookie in the response of