1,207 questions
0
votes
1
answer
25
views
ORDS 25.2.1 behind Nginx/Tomcat – cookies appearing in page body
Environment:
- ORDS 25.2 deployed on Tomcat 9.0
- Java 17
- Database and APEX on separate servers (PaaS)
- Reverse proxy: Nginx
Problem:
After upgrading to ORDS 25.2.1, the APEX layout breaks. Some ...
0
votes
0
answers
24
views
Setting cross site cookies for same root domain, diff subdomain
I deployed apis to api.xyz.com and frontend is on ui.xyz.com.
When I set and send back jwt in cookie from serverx it only sets to be used with ui.xyz.com.
Since, apis are on diff subdomain how do I ...
0
votes
0
answers
42
views
spring boot cookie not accessible in browser
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
return http
.csrf(csrf -> csrf.disable())
.cors(cors -> cors.configurationSource(corsConfig....
0
votes
0
answers
57
views
Set-Cookie is Wrong wrong - $x-enc
Hy,
i stuck in an JWT-Refresh issue. The Ktor-Server Code is the following:
...
call.response.cookies.append(
Cookie(
name = "refresh_token",
value = ...
0
votes
0
answers
90
views
How to modify Kubernetes ingress for sending cookie?
I have a web application running on kubernetes cluster. There are some cookies on the frontend part and I want to add this cookies in the request header. I'm using axios for sending request. I added ...
1
vote
0
answers
39
views
Backend (in production - Render) not setting cookies for Frontend in development [duplicate]
My friend and I are working on a project together. I develop the backend with FastAPI and he uses Next.js for the frontend. I implemented session based authorization with session cookies that would be ...
0
votes
1
answer
63
views
Browser ignoring Set-Cookie
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,...
2
votes
1
answer
230
views
CSRF Cookie not visible/not set
I'm trying to set up CSRF on our project, using
https://www.npmjs.com/package/csrf
https://www.npmjs.com/package/fastify-cookie
in NestJS
The API generates cookie in response to AJAX request and in ...
0
votes
0
answers
25
views
Nodejs Cookie is set to empty value
I am using nodejs for backend, the backend is hosted on renderon and the frontend is hosted on netlify.
I am trying to set the cookie in this way
res.cookie("spare_auth_token", token, {
...
0
votes
0
answers
90
views
how to avoid ( using pure javascript) setting cookies which are set by response headers set-cookie
I have a html page, to which I would like to insert a .html template which is stored in a separate file. I have done it like this:
index.html:
<html>
<body>
<script src="js/...
1
vote
0
answers
37
views
How to delete all cookies in Ubuntu VPS server by force created by PHP setcookie function?
Consider the following codes I collect from the libs/login.php file of Kahuk CMS:
function SetIDCookie($what, $remember) {
global $db;
$domain = preg_replace('/^www/','',$_SERVER['...
-1
votes
1
answer
405
views
How can I set cookies using python requests
I am trying to access the cookies of websites, take Wikipedia for example and change their values. I also want to create cookies of my own and put them into my website. For some reason, which I'm not ...
0
votes
1
answer
92
views
Set Cookie in browser is not being persisted
I have an express code that sends the cookie to get requests in some route:
res.cookie("userID", `${userSaved._id}`, { maxAge: 900000, httpOnly: true });
So when I make a get request in ...
0
votes
1
answer
69
views
Reactjs cient not receiving cookies from express server
I'm running my project on different servers, backend on render and frontend on vercel. However I'm only running into this error on deployment, meaning that the cookie is either not being set properly ...
1
vote
1
answer
2k
views
error: this attempt to set a cookie via SET-Cookie header was blocked because its domain attribute was invalid with regards to the current host url
I'm implementing authentication in a Node.js application by setting JWT tokens in cookies. Although the API request returns a status code of 200, the cookies are not being stored in the browser. ...
3
votes
1
answer
1k
views
Cookies are being rejected due to domain attribute from Sanctum (Laravel)
I am using two Google Cloud Run containers to host different applications. I changed the URLs in the question for privacy reasons (the structure stays the same obviously).
A Laravel Backend which ...
0
votes
0
answers
34
views
Adding a Button with cookie durations
To frame what im trying to do. I work for a small reatailer and we had an idea for a promotion where we put a gift card in a small safe. The Safe has the numbers 1,2,3,4,5 and needs 5 a digit code to ...
1
vote
1
answer
593
views
In Next, how can I access the JWT token from the cookie I am setting in my NestJS app?
I am stuck on this problem for a while now:
I am trying to set a http only cookie in my Nest backend to store a jwt token that I can later access in my Next client.
The part that should set it is this:...
0
votes
1
answer
94
views
setcookie() default secure=true
In php.ini where can I set the default "secure" parameter value to true for the setcookie() call(): https://www.php.net/manual/en/function.setcookie.php#:~:text=match%20all%20subdomains.-,...
0
votes
1
answer
38
views
Remember choice of filter
I have a filterscript which works nice but when you click on a link it needs to remember your last selected filter.
Does anyone knows how I can add this? Cookie/local storage?
I have made a fiddle:
...
0
votes
0
answers
25
views
Cookies visible in response but not getting saved
I am facing a problem that when I send request to my server for signin, I am able to see cookies in the network tab as response but it is not visible in application tab i.e. it does not get saved. I ...
0
votes
0
answers
95
views
How to implement http-only cookie auth from aws hosted backend to locally hosted frontend?
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 ...
0
votes
1
answer
231
views
Is there a way to set a cookie using JS and force a dynamic element reliant on the cookie to update without reloading the page?
apologies if the title question is confusing, but I'm not entirely sure how to ask or phrase this. Basically, I want a button to trigger (it opens a popup) on page load—easy enough.
However, the ...
0
votes
1
answer
270
views
Conection and send cookie between multiple AppService - Azure
I have 2 AppService, one for my django backend and another for my angular frontend. Each appService has its domain. On the login endpoint, the backend must generate and set a cookie with a jwt in the ...
0
votes
1
answer
146
views
Spring boot, cookies on ip address domain
My server works on localhost and my VPN address (26.185.15.150), when I make request to http://localhost:3500/login/auth, I get correctly response and cookies. When I make request to http://26.185.15....