4,843 questions
-2
votes
0
answers
6
views
Chrome logs me out of all sites on every restart (Windows 11) [migrated]
I’m facing a weird Chrome issue.
Every time I fully close Chrome and reopen it, I’m logged out of almost all websites — ChatGPT, ClickUp, Substack, etc.
Google services (Gmail, Meet) stay logged in.
...
1
vote
1
answer
137
views
How to save log in session and other cookies to access a website some time later?
I know we can enable cookies in scrapy setting to navigate to different pages of a website without re-log-in every time once we successfully log in to that website. But, this is limited to a single ...
Advice
1
vote
1
replies
51
views
How to use csrf-csrf with Express and cookie based sessions in Node.js
I’m building a Node.js web app using Express, Nunjucks as the templating engine and cookie-session library for storing user sessions in cookies. I’d like to use the csrf-csrf library to add CSRF ...
0
votes
0
answers
23
views
Handle Missing AAD B2C Session Cookies
My application shows the following session cookies from AAD B2C after a user has signed-in successfully (masked some parts):
It works fine. Even if the browser is closed and reopened and these ...
3
votes
2
answers
2k
views
How to remove a cookie in Go
I've set a cookie and can see it in my browser. I couldn't find anyway to remove it. What I've tried was:
deleteCookie, _ := r.Cookie("login")
deleteCookie.Value = ""
deleteCookie.MaxAge = -1
http....
6
votes
2
answers
3k
views
Intermediate authorization_request_not_found error with Spring Cloud Gateway and Keycloak
I am working on a microservice architecture developed in Spring boot with an API gateway service using Spring Cloud Gateway. I am using Keycloak as an identity provider. Everything is working fine ...
0
votes
2
answers
135
views
My authentication setup requires a setTimeout before redirect to allow cookies to write in the browser
Authentication flow:
User is redirected back to my site (to /auth/callback) after logging in with a 3rd party. The redirect back includes query params. The React function on the callback page sends ...
6
votes
1
answer
25k
views
Session.cookie_domain in php.ini
I have been reading as much as possible about the php.ini file and i have found nothing about whether or not its bad/dangerous to not set the session.cookie_domain in the php.ini.
We are in a ...
1
vote
0
answers
65
views
Express' res.clearCookie() does not clear the cookie?
I assign the cookie here:
const sessionEnd = new Date(Date.now() + ( 1000 * 60 * 60 * 24 ));
const cookieOptions = {path: "/", expires: sessionEnd, httpOnly: false};
async function ...
0
votes
1
answer
12k
views
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 Chrome plugin like 'EditThisCookie').
Click ...
1
vote
3
answers
147
views
Authentication cookie not being set randomly, never shows user logged in
Do you know why sometimes my users can't login. Basically they cookie never gets set and shows the user as logged in. Other users seem just fine. They go to another browser and it works but its ...
1
vote
0
answers
2k
views
Laravel session vs sanctum api token vs jwt for a hybrid SPA and mobile app [closed]
The Laravel sanctum documentation suggests using the stateful way to authenticte your own SPA and use the API tokens for other purposes. To my knowledge, JWT and Bearer tokens are both more performant ...
1
vote
1
answer
101
views
gin-contrib/sessions creating new session for every request
I'm trying to use gin-contrib/sessions but every time I make a request to the server a new session is created. It is never finding a previously created session and I can't access any data that should ...
668
votes
34
answers
506k
views
Invalidating JSON Web Tokens
For a new node.js project I'm working on, I'm thinking about switching over from a cookie based session approach (by this, I mean, storing an id to a key-value store containing user sessions in a user'...
9
votes
1
answer
293
views
Custom state management for Java EE
I've worked with Java EE (now Jakarta EE) since before it was named "EE" (i.e. servlets, etc.) but the last time I was deeply into session management was over 15 years ago. Now we have new ...