35,140 questions
1
vote
1
answer
110
views
Blazor Server + Identity: SignInManager.SignInAsync doesn't persist login (cookie not set)
I'm building a Blazor Server app (.NET 9, Identity + Entity Framework Core + MudBlazor). I have a custom login form and I want to authenticate the user manually using SignInManager.
I'm using this ...
1
vote
0
answers
48
views
Cookie / OIDC authentication enters into an infinite redirect loop
I have a Blazor server-side app (.NET 8) that connects to an external IdP. Most of the times it works fine. However, once in a while the app enters into an infinite redirect loop when the user logs in....
0
votes
1
answer
52
views
Nextjs Authentication With Cookies
This is my folder structure in nextjs
my backend code login
export const loginUser = async (req, res) => {
const { email, password } = req.body;
console.log("Login attempt:", { email ...
1
vote
1
answer
91
views
IFrame integration within salesforce
I'm developing an CPQ system and I want to integrate it as an iframe within salesforce or any other CRMs.
There are few problems,
A Session needs to be maintained for authentication and authorization
...
-1
votes
1
answer
59
views
token in cookie get lost after refreshing the page. MERN stack
i am using the mern stack to make chat app, everything works fine on the my local environment but when i deployed my site on render and vercel both, they have common problem -> after login token is ...
0
votes
0
answers
41
views
k6 reports expiry in the 18th century for all cookies
I'm a new QA, and I'm using k6 with Typescript to test a web app. I noticed that http requests that rely on cookies aren't working correctly in the test script, although they do work when using the ...
-1
votes
1
answer
55
views
set cookie header is available in network tab but cookie is not set
I had hosted the server on the localhost:3000 and frontend on the localhost:5173 when i send the request to the server i get the response in network tab.
using node.js in backend and react in frontend
...
0
votes
0
answers
30
views
Vue.js served throught ASP.NET Core spa proxy is not served on API URL
I've created a new project using Vue.js SPA template of Visual Studio. It has created a server project using ASP.NET Core, and a client project using Vue.
In the program.cs of the server I have this ...
0
votes
0
answers
40
views
Angular Springboot JWT Refresh Token Cookie not set on browser
I'm implementing an authentication flow with:
Angular frontend running on http://localhost:4200
Spring Boot backend running on http://localhost:8080
After a successful login, the backend sends a Set-...
-2
votes
1
answer
86
views
Cookie received from backend but not saved or sent on subsequent requests in localhost (Express + Vite + CORS setup)
I'm working on a full-stack web app with the following setup:
Frontend: React, Vite dev server running at http://localhost:5173
Backend: Express server running at http://localhost:3000
Here's the ...
0
votes
0
answers
80
views
Blazor Server NavigationException after Cookie Authentication - How to properly handle post-login redirect?
I'm implementing cookie authentication in a Blazor Server app, but after successful login, I get this error:
NavigationException: Exception of type 'Microsoft.AspNetCore.Components....
0
votes
0
answers
53
views
SizeLimitExceededError in AD ldapjs while retrieving users with cookie
Library used: ldapjs:2.3.3
I am using ldapjs, PagedResultsControl to paginate in AD users. It works fine with most of the instances. For one of the instances, I am able to fetch 500 users on the first ...
0
votes
0
answers
204
views
Flutter InAppWebView: Cookies work on Android but iOS redirects to login instead of dashboard
I’m working on a Flutter app where the user logs in, and after login, I load a WebView. Once the user signs in, I get an access token and refresh token, which I store using Hive.
The backend sets ...
0
votes
0
answers
60
views
Setting a cookie in PHP [duplicate]
I'm running a WP site and I'm trying to set a cookie through PHP based on a URI. For example, when opening the home page it sets a cookie with value "home1", when opening a specific url, it ...
0
votes
1
answer
65
views
How to remove / replace cookies in Apache http server before redirect to backend
I have been working on web and backend development. For web using Apache http server, here facing issue regarding cookies size. On client browser cookies size is really huge and Tomcat server ...
0
votes
1
answer
178
views
Is using HttpOnly cookies to manage AWS Cognito access and refresh tokens a secure and recommended approach?
We're implementing authentication for multiple SPAs across subdomains of the same parent domain (e.g. app1.mycompany.com, app2.mycompany.com) using AWS Cognito, a custom login UI, and a centralized ...
0
votes
0
answers
35
views
@react-oauth/google stores google accounts cookies on my domain?
I'm trying to implement oauth for google using @react-oauth.
When using it, it seems like it stores cookies on my own domain for google account.
I don't see any reason for google accounts cookies to ...
1
vote
0
answers
102
views
Problems reading my own cookie in other parts of my Laravel app
I have a simple form where users come to report who they helped, and how. It is anonymous in the fact that they do not have to login in, but they are asked to provide their name. They will make many ...
0
votes
1
answer
119
views
My deployed MERN web app work fine on PC but not on mobile
My web app works fine on the PC but when I try to login on mobile I get error: unauthorized access, i.e, the cookies are not being set. I deployed my backend on render and frontend on vercel.
Here’s ...
0
votes
0
answers
62
views
Cookies in localhost
I am having difficulties with the following scenario.
I have an API that generates tokens and responds with an HTTPOnly cookie. This API is in a development environment (Cloud Server) at the URL https:...
0
votes
1
answer
64
views
PHP script not reading set cookie in Safari OSX and iOS
Problem: verified cookie set in PHP and visible in developer tools is not detected by PHP for Safari. Same script is working fine in Chrome and Firefox.
Simplified example that illustrates the ...
1
vote
0
answers
28
views
How can I make cookie-based authentication work on incognito/Brave-type browsers?
I just deployed my first web application to production. I have my site www.examplesite.com which routes to my load balancer which then goes to my cloud run app. Everything is working fine locally, ...
0
votes
1
answer
39
views
How can I stop chrome from clearing cookies when using cross-site cookies for user sessions?
Frontend app (Nextjs) is hosted on Vercel. frontend.vercel.app
Backend app (Expressjs) is hosted on a VPS. api.my_vps_domain.net
Each app is on a different domain.
BE using cors and setting ...
0
votes
0
answers
18
views
How can I use partitioned cookies for google chrome in this scenario
User lands on domain1.com, domain1 sets a cookie. browses thru domain1 pages and navigates to domain2.com via links etc. I want the cookie set on domain1 to be made available on domain2.com. Is there ...
0
votes
0
answers
18
views
Consent Management Platform (for cookies) with no 'unsafe-inline' header requirement
I need a Consent Management Platform with GDPR & custom cookie banner, that can support nonce/hash based headers. Most of them need 'unsafe-inline' at least for the style-src headers. Is there one ...