Google Chrome not setting Authorization cookie on unsecured localhost












3















When I log in to my localhost website, Google Chrome does not usually set the Authorization cookie. Sometimes it does, and will keep doing so until I shut everything down, then it's a crap-shoot if it will next time.



Everything works fine in all other browsers, including Brave.



My website is not secure, i.e. not https.



I've looked at all other questions I can find on SO, none solved issue.



Anyone know what's going on here, is there a work-around?










share|improve this question




















  • 1





    Google Chrome does not set an authorization cookie, because of your web server. I would like to know what kind of a web server you are using and also have you tried to create an SSL certification?

    – Kektuto
    Dec 13 '18 at 7:21













  • @Kektuto I'm using ASP.NET Core 2.1 behind IIS express or whatever gets loaded with Visual Studio. Think Kestrel's in the mix too. Know how to use ASP.NET Core, not too bright beyond that. Yes, things work fine when i go SSL, but in production will not have a cert, so it's a pain, want to make sure things are working as expected by not using a cert on my dev box.

    – Michael Tranchida
    Dec 16 '18 at 0:26


















3















When I log in to my localhost website, Google Chrome does not usually set the Authorization cookie. Sometimes it does, and will keep doing so until I shut everything down, then it's a crap-shoot if it will next time.



Everything works fine in all other browsers, including Brave.



My website is not secure, i.e. not https.



I've looked at all other questions I can find on SO, none solved issue.



Anyone know what's going on here, is there a work-around?










share|improve this question




















  • 1





    Google Chrome does not set an authorization cookie, because of your web server. I would like to know what kind of a web server you are using and also have you tried to create an SSL certification?

    – Kektuto
    Dec 13 '18 at 7:21













  • @Kektuto I'm using ASP.NET Core 2.1 behind IIS express or whatever gets loaded with Visual Studio. Think Kestrel's in the mix too. Know how to use ASP.NET Core, not too bright beyond that. Yes, things work fine when i go SSL, but in production will not have a cert, so it's a pain, want to make sure things are working as expected by not using a cert on my dev box.

    – Michael Tranchida
    Dec 16 '18 at 0:26
















3












3








3








When I log in to my localhost website, Google Chrome does not usually set the Authorization cookie. Sometimes it does, and will keep doing so until I shut everything down, then it's a crap-shoot if it will next time.



Everything works fine in all other browsers, including Brave.



My website is not secure, i.e. not https.



I've looked at all other questions I can find on SO, none solved issue.



Anyone know what's going on here, is there a work-around?










share|improve this question
















When I log in to my localhost website, Google Chrome does not usually set the Authorization cookie. Sometimes it does, and will keep doing so until I shut everything down, then it's a crap-shoot if it will next time.



Everything works fine in all other browsers, including Brave.



My website is not secure, i.e. not https.



I've looked at all other questions I can find on SO, none solved issue.



Anyone know what's going on here, is there a work-around?







google-chrome






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 7 '18 at 12:12







Michael Tranchida

















asked Nov 21 '18 at 20:16









Michael TranchidaMichael Tranchida

1,4641322




1,4641322








  • 1





    Google Chrome does not set an authorization cookie, because of your web server. I would like to know what kind of a web server you are using and also have you tried to create an SSL certification?

    – Kektuto
    Dec 13 '18 at 7:21













  • @Kektuto I'm using ASP.NET Core 2.1 behind IIS express or whatever gets loaded with Visual Studio. Think Kestrel's in the mix too. Know how to use ASP.NET Core, not too bright beyond that. Yes, things work fine when i go SSL, but in production will not have a cert, so it's a pain, want to make sure things are working as expected by not using a cert on my dev box.

    – Michael Tranchida
    Dec 16 '18 at 0:26
















  • 1





    Google Chrome does not set an authorization cookie, because of your web server. I would like to know what kind of a web server you are using and also have you tried to create an SSL certification?

    – Kektuto
    Dec 13 '18 at 7:21













  • @Kektuto I'm using ASP.NET Core 2.1 behind IIS express or whatever gets loaded with Visual Studio. Think Kestrel's in the mix too. Know how to use ASP.NET Core, not too bright beyond that. Yes, things work fine when i go SSL, but in production will not have a cert, so it's a pain, want to make sure things are working as expected by not using a cert on my dev box.

    – Michael Tranchida
    Dec 16 '18 at 0:26










1




1





Google Chrome does not set an authorization cookie, because of your web server. I would like to know what kind of a web server you are using and also have you tried to create an SSL certification?

– Kektuto
Dec 13 '18 at 7:21







Google Chrome does not set an authorization cookie, because of your web server. I would like to know what kind of a web server you are using and also have you tried to create an SSL certification?

– Kektuto
Dec 13 '18 at 7:21















@Kektuto I'm using ASP.NET Core 2.1 behind IIS express or whatever gets loaded with Visual Studio. Think Kestrel's in the mix too. Know how to use ASP.NET Core, not too bright beyond that. Yes, things work fine when i go SSL, but in production will not have a cert, so it's a pain, want to make sure things are working as expected by not using a cert on my dev box.

– Michael Tranchida
Dec 16 '18 at 0:26







@Kektuto I'm using ASP.NET Core 2.1 behind IIS express or whatever gets loaded with Visual Studio. Think Kestrel's in the mix too. Know how to use ASP.NET Core, not too bright beyond that. Yes, things work fine when i go SSL, but in production will not have a cert, so it's a pain, want to make sure things are working as expected by not using a cert on my dev box.

– Michael Tranchida
Dec 16 '18 at 0:26














1 Answer
1






active

oldest

votes


















0














Good news. Setting cookies on localhost is now possible on Chrome starting Canary build: https://code.google.com/p/chromium/issues/detail?id=551906



There is also an issue here https://bugs.chromium.org/p/chromium/issues/detail?id=56211






share|improve this answer
























  • thanks for the answer, will test when i get back to work, get back to ur answer, fingers crossed, hopefully give u the check :)

    – Michael Tranchida
    Dec 16 '18 at 0:31











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53419858%2fgoogle-chrome-not-setting-authorization-cookie-on-unsecured-localhost%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Good news. Setting cookies on localhost is now possible on Chrome starting Canary build: https://code.google.com/p/chromium/issues/detail?id=551906



There is also an issue here https://bugs.chromium.org/p/chromium/issues/detail?id=56211






share|improve this answer
























  • thanks for the answer, will test when i get back to work, get back to ur answer, fingers crossed, hopefully give u the check :)

    – Michael Tranchida
    Dec 16 '18 at 0:31
















0














Good news. Setting cookies on localhost is now possible on Chrome starting Canary build: https://code.google.com/p/chromium/issues/detail?id=551906



There is also an issue here https://bugs.chromium.org/p/chromium/issues/detail?id=56211






share|improve this answer
























  • thanks for the answer, will test when i get back to work, get back to ur answer, fingers crossed, hopefully give u the check :)

    – Michael Tranchida
    Dec 16 '18 at 0:31














0












0








0







Good news. Setting cookies on localhost is now possible on Chrome starting Canary build: https://code.google.com/p/chromium/issues/detail?id=551906



There is also an issue here https://bugs.chromium.org/p/chromium/issues/detail?id=56211






share|improve this answer













Good news. Setting cookies on localhost is now possible on Chrome starting Canary build: https://code.google.com/p/chromium/issues/detail?id=551906



There is also an issue here https://bugs.chromium.org/p/chromium/issues/detail?id=56211







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 14 '18 at 9:27









Rubin bhandariRubin bhandari

669510




669510













  • thanks for the answer, will test when i get back to work, get back to ur answer, fingers crossed, hopefully give u the check :)

    – Michael Tranchida
    Dec 16 '18 at 0:31



















  • thanks for the answer, will test when i get back to work, get back to ur answer, fingers crossed, hopefully give u the check :)

    – Michael Tranchida
    Dec 16 '18 at 0:31

















thanks for the answer, will test when i get back to work, get back to ur answer, fingers crossed, hopefully give u the check :)

– Michael Tranchida
Dec 16 '18 at 0:31





thanks for the answer, will test when i get back to work, get back to ur answer, fingers crossed, hopefully give u the check :)

– Michael Tranchida
Dec 16 '18 at 0:31




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53419858%2fgoogle-chrome-not-setting-authorization-cookie-on-unsecured-localhost%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

Npm cannot find a required file even through it is in the searched directory

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith