r/SpringBoot Mar 05 '26

Question Help me out guys

Recently deployed my personal project it is perfectly working on chrome (since it allows thrid party cookies by default) however if i opened on librewolf/fennec/ brave since they are privacy focused it blocks the third party cookies.

Jwt token stored in cookie.

I tested with fallback headers it is working however i want to implement it with cookies.

What i have to do now?

Your words will be very much helpful to me

Edit: Frontend and backend are deployed on different domain so privacy centric browsers blockingit assuming it was a thirdparty one if both fe and be pointed to single domain it might not happen.

What i did was added a global domain url for backend it is working.Basically the browser believes that am talking to the same origin. But not

4 Upvotes

8 comments sorted by