35,123 questions
Tooling
0
votes
0
replies
32
views
How to save user's info/are they logged in in a streamlit app
I am making Streamlit web app for school, and I just made a signup page where the user can enter a first and last name and password. I then store all that in a sql db. I made a working login page, but ...
0
votes
0
answers
72
views
HttpOnly SameSite=None cookie not persisted on mobile, works on desktop
I'm working on a Spring Boot backend with React frontend. I'm setting an HttpOnly cookie for refresh tokens like this:
@NotNull
private ResponseEntity<String> getStringResponseEntity(...
-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.
...
0
votes
2
answers
98
views
In Next.js App Router:, cookie set in server action is not available during initial client render
I encountered a unexpected behavior with cookies in a Next.js when setting a cookie inside a server action and attempting to read it during the initial render of a client component. The server action ...
-1
votes
0
answers
60
views
I have a cookies production issue that I can't login on iphone and also it doesn't appear at all in production server
I'm trying to make users to be able to login using their iphone
also I don't receive any cookies in production! I don't know if it is something for security.
export const loginUserController = async (...
-1
votes
2
answers
131
views
How to set cookies from the backend on production? [closed]
I am trying to set cookies from the backend but the frontend (browser) keeps auto deleting them. This only happens on production not on localhost.
The cookie flow is this:
user clicks login with ...
0
votes
0
answers
55
views
Cookie not transferred after redirect in OAuth2 implementation (works in Chrome, fails in other browsers)
I have an application with my Express server hosted on Render and my React frontend hosted on Vercel. I'm implementing OAuth2 with Google and setting the access token into the oauth_token cookie after ...
0
votes
1
answer
84
views
Get cookies from Chrome while it's instance is running on Windows in python
I tried the libraries like browser_cookie and browser_cookie3 and both fail. Browser Cookie3 does not work for the modern chrome and even though browser_cookie DOES after I tweak it's source code a ...
1
vote
2
answers
117
views
Laravel Sanctum SPA Auth: 419 (unknown status) Token mismatch error
Problem
I am struggling with annoying 419 error trying to logout. The login and register are working fine. My api and spa are on the same top-level domain, but different ports
api - localhost:8000
spa ...
Advice
0
votes
1
replies
172
views
How to authenticate WebSocket connection when access_token is stored in HttpOnly cookies? (Spring Cloud Gateway + STOMP)
I’m building a WebSocket-based microservice architecture using Spring Cloud Gateway and STOMP WebSockets.
Users log in through the frontend, and the backend sets:
access_token (HttpOnly, Secure, ...
1
vote
1
answer
59
views
WildFly Undertow UT000173: Invalid control character [250] in cookie - persists
I'm experiencing a persistent cookie corruption issue with my Java EE web application deployed on WildFly 37.0.1.Final. The error appears immediately when accessing the application URL, even after ...
-1
votes
1
answer
38
views
Extending Cookie Expiry in nginx
I am using nginx as a proxy between a front end and an API.
When the API returns a token, nginx sets it as a cookie.
The cookie will either have an expiry of 30 minutes, or 14 days if the user ticked '...
0
votes
1
answer
102
views
How to send cookies from server to client during SSR (Angular 20)
I am using HttpOnly Cookies for JWT authentication in my Angular v20 app. I have SSR enabled.
During Login, the cookies are sent to the client. I have an HttpInterceptor that seems to work to forward ...
0
votes
0
answers
56
views
Cross-Domain Cookies for Subdomains
We have a backend which is running at https://api.example.com. And we have two different client apps which are served from https://client.example.com and https://admin.example.com. Both of these apps ...
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 ...