I am getting this issue while adding a cookie in Chrome dev tools (it gets highlighted in red), so I am not able to add any cookies. I even tried to reset the Chrome browser, but it's not working.
If you update your chrome or restart your laptop recently(10-Feb-2022), you cannot add cookies manually in chrome now. The reason is the newest update of Chome disable the SameSite by default cookies setting.
the solution is:
open this url in chrome: chrome://flags
search Partitioned cookies, and enable it
Related
I have 2 applications one is asp .net application with MSAL.Net and other one is power apps application, I used iframe for silent login and it was working everywhere before chrome and firefox upgrade. After upgrading chrome and firefox browser it stop working into Incognito mode of chrome and Private mode of firefox stop working and giving below errors.
From Chrome
From Firefox
Can you please help me to resolve this issue by code instead manually do browser setting
Thanks,
Sandy
Chrome 83+ in incognito mode, has an option by default
(x) Block third-party cookies in Incognito. Disable this.
As a proper fix, use a custom domain name so that the browser no longer considers it a third party:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-domain?pivots=b2c-custom-policy
In private mode, please enable cookies in your browser in order for msal to work properly. This information has to be added to your cookie policy as well to make the users of your application aware.
I visited this site: https://samesite-sandbox.glitch.me/ both on normal and incognito Chrome window. This happens 100% of the time both on Mac Chrome and Android Chrome. Incognito had no extensions enabled.
Is this a bug? Is there a workaround?
Chrome version: 84.0.4147.105
Here's the incognito result:
Here's the result on non-incognito window:
Actually just found the solution
From this site:
https://www.chromium.org/updates/same-site/test-debug
If you are testing in Incognito Mode, be aware that the default setting for Incognito Mode is to block third-party cookies. This can lead to behavior that appears similar to cross-site cookies being blocked due to lack of a SameSite attribute. This setting can be changed on Incognito Mode's New Tab Page, or in chrome://settings/cookies.
When browsing to http://localhost:8080/ in chrome I get redirected to a bad request page, provided by the chrome browser. If I browse to the network url ie: http://192.168.1.1:8080/, then the chrome browser happily loads it.
The localhost url works fine in Firefox and in Edge.
Has anyone experienced this behaviour before and know how to fix it?
Check your chrome proxy settings and hosts file, also try the guest and private mode.
It might be a cookies problem
This is not a problem with viewing the GTM console on my domain.
When I click the "preview" button my GTM interface refresh, but it just won't go into preview mode! Never had this problem before and I've tried closed and opened chrome, disabled cache in devTools and tried it in incognito. Nothing of this works.. Any ideas?
I have admin with publish rights for my account.
Solved it!
One of my Chrome extensions blocked it for some reason I don't know.
It was the extension "Ghostery" that caused the problem and when I deactivated it "preview and debug" started working.Now I just have to find out a way to still use the extension and keep GTM working, like it did before christmas.
I have found that if you are blocking third-party cookies, the GTM Preview/Debug won't turn on.
I've never got Preview mode to work in Chrome.It does work using Opera. You can get an add-on for Opera that will allow you to use all Chrome extensions in Opera.
Does Chrome's Developer Tools have an option to disable cache as firebug does?
If so would someone be so kind as to point me towards it?
In Issue 8742 in the Chromium issue tracker a comment has been added just some hours ago:
There is now a checkbox for disabling cache in settings.
So there is hope that the feature to disable cache will finally make its way into Chrome. In the meantime, I put into my development server's Apache config:
Header set Cache-Control "no-cache"
Guess that should do the trick.
Update: In Chrome 15's Developer Tools settings (cogwheel in lower right hand corner) there is an option Network / Disable cache. Also you can clear the cache easily by right clicking in the network tab and selecting Clear browser cache.