Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

This is my nodejs server socket.io code: const io = new Server(server, { cors: { origin: "*", // Allows connections from any origin methods: ["GET", "POST"] // ...
yeln's user avatar
  • 797
0 votes
0 answers
68 views

I have a React web app that I’m running inside a Capacitor container. The backend issues an HttpOnly cookie (refresh_token) for authentication. When I test in a normal browser, everything works: ...
Bear Bile Farming is Torture's user avatar
0 votes
0 answers
26 views

I have a problem in logout in production phase in my Nuxt 3.15 app (MEVN stack) Normal conditions: after successful login, the user is directed to /dashboard where his data is loaded from database ...
Hany Taha's user avatar
0 votes
1 answer
63 views

I have frontend running at https://fe-qa.mydomain.com and backend at https://qa.mydomain.com. In the Chrome Dev Tools under Network, I can see that when frontend calls https://qa.mydomain.com/foo/bar2,...
jjrz's user avatar
  • 379
0 votes
1 answer
121 views

EDIT: Incorrect question. I was getting only an empty object at the backend due to misconfiguration. I thought it was a part of HTTP-ONLY to make cookies inaccessible. (I cannot delete the question) ...
sanaaa's user avatar
  • 47
0 votes
1 answer
84 views

When implementing API authentication using JWTs, most standards (like OAuth 2.0 and OpenID Connect) recommend placing the token in the Authorization header, using the Bearer scheme However, I’m ...
ahmadsab's user avatar
0 votes
1 answer
70 views

I'm building a web application with an ASP.NET Web API backend and a Vue.js frontend. I've implemented JWT authentication and am storing the access token in an HTTPOnly cookie for security reasons. ...
Nikusha Gabidzashvili's user avatar
0 votes
1 answer
189 views

I have a backend in Asp.net Core that handle authorization with jwt tokens. This backend may interact with differents clients. To some of them (browser, compliant lib... ) it will send a secure ...
pierre.b's user avatar
  • 293
0 votes
1 answer
193 views

Im using Laravel Passport and I'm trying to convert my code from using tokens stored in the localhost to using httponly cookies. I followed this documentation: https://laravel.com/docs/5.8/passport#...
JRC's user avatar
  • 1
0 votes
0 answers
133 views

I am trying to authenticate with the http only cookies. My front end is VUE 3 and backend is laravel. I am successfuly logging in. My login functions is public function login(Request $request) ...
Azay Karimli's user avatar
0 votes
0 answers
60 views

I'm storing my authentication token on an http-only cookie. When an user logs-in, an http cookie carrying the token will be set. Here's the code to process the login: @PostMapping("/processlogin&...
minhson Bui's user avatar
0 votes
1 answer
64 views

I have an ASP.NET Core 8.0 Web API that is configured to authenticate with http-only JWT token. This is my code to create the authentication and authorization: builder.Services.AddAuthorizationBuilder(...
guirms's user avatar
  • 383
0 votes
0 answers
95 views

When your backend is deployed to aws and you have to develop http cookie authentication to a locally hosted reactjs frontend how do you implement it? The issue is.. When I call the login API endpoint ...
Pankaja Chalaru's user avatar
1 vote
0 answers
438 views

I'm setting an HTTP-only cookie to JWT token, then when I'm refreshing the page on frontend. It automatically calls endpoint which has getCheckToken on it. When I try to retrieve that set HTTP-only ...
James Hetfield's user avatar
0 votes
0 answers
210 views

i see some weird behavior with http-only cookie - if i make subsequent request, the set-cookie header sent from the backend is not sent properly on the next request. for example i tried it even via ...
Eyal Amor's user avatar
1 vote
1 answer
57 views

I seem to be having trouble persisting my athntication status between django and reactjs ( when i refresh the page ) i loose authentication. upon sending requests to my endpoints in postman with my ...
newprogrammer12's user avatar
0 votes
1 answer
96 views

Currently I have finished backend and I tried to deploy it on heroku, but when I change api calls of my frontend(react typescript) to the new heroku.com url, the session just cannot work (can't save ...
Ayaka's user avatar
  • 1
0 votes
0 answers
101 views

I am working on moving my React App to NextJS. My application has a custom backend API which sends an http-only cookie on authorization. On my original React App without NextJS, my API endpoints' ...
user3054977's user avatar
1 vote
1 answer
242 views

I'm using a sveltekit. What I want is to update the input data. The update itself is simple, but there is a problem, which is that i need to send an accessToken in a header to send an update API ...
Jay0813's user avatar
  • 113
2 votes
2 answers
2k views

Browser (Chrome) doesn't set HttpOnly cookies from child iframe or pop-up window I have a parent webpage with a child iframe: Parent at https://sub1.some-domain.com Child at <iframe src="...
Taras Yaremkiv's user avatar
3 votes
0 answers
1k views

Hi I am using Nuxt 3 I am trying to set and get cookie on server/api. I have two pages index.vue and about.vue and two server/api files setcookie.get.js and getcookie.get.js. In the index.vue making ...
Johnny's user avatar
  • 71
3 votes
1 answer
2k views

I've always been under the impression that storing both of these tokens in an httpOnly cookie is secure enough, but been lately reading some people only store the refresh token in the cookie, and ...
Nelson Melon's user avatar
0 votes
1 answer
50 views

We are trying to get express-session to work in our App, currently for our login endpoint, I see that express session is returning the expected Cookie, it matches what is in the Sessions Store But I ...
shaun's user avatar
  • 1,273
0 votes
0 answers
663 views

So, I've been making some custom session initiation code and have run across some issues in uisng HTTPonly cookies, for some reason I am not able to acess the cookies set to HTTPonly using $_COOKIE[&...
Ahan's user avatar
  • 123
1 vote
1 answer
173 views

In many of my previous projects with auth I used localstorage or sessionstorage to store the JWT. Trying to use http only secure cookies, the only issue I am running into is trying to a seperate ...
Caleb's user avatar
  • 499

1
2 3 4 5