How to implement cross-domain, auto-login SSO without browser redirects for unlogged users?

I need to implement an SSO solution with the following requirements:

Cross-domain: Let’s assume I have a.com, b.com and sso.com. If I become logged in through a.com, I shouldn’t need to login when I visit b.com.
Centralized… Continue reading How to implement cross-domain, auto-login SSO without browser redirects for unlogged users?

what prevents sending "$.post" from one domain to another?

I have one website in chromium tab, and an other website in another tab,
Im executing single post command in the second website – $.post(…); to the first website.
Originaly its not working (getting: “No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access”) ,but if runing chromium with “–disable-web-security –user-data-dir=~/.chrome-tmp ” flags it will send the post.
the question is, what exactly changed so after putting those flags the post is sent ?
I first thought that it disabled “same origin policy” but after some reading it seems like it has nothing to do with it.

Continue reading what prevents sending "$.post" from one domain to another?

Setting Access-Control-Allow-Origin: * when session identifiers are injected in the HTTP headers

Is it considered as secure for an application to set a header access-control-allow-origin: * if during the normal usage of the application, the client credentials are injected in the headers by the JS code? E.g.:

GET /applic… Continue reading Setting Access-Control-Allow-Origin: * when session identifiers are injected in the HTTP headers

Is a Kerberos ticket valid with only one-way external trust between domains?

The situation is that I have two domains (Domain A and Domain B) that live on separate networks. I need to allow users in B to be authenticated with integrated windows authentication (IWA) when they hit a web app deployed on … Continue reading Is a Kerberos ticket valid with only one-way external trust between domains?

Can a website make an HTTP request to "localhost"? How does it get around the cross-domain policy?

I found this website which talks about fixing a Redis vulnerability by exploiting that same vulnerability.

The website in question has a “patch me” button, and if you have a password-less Redis server running on your machine, it will patc… Continue reading Can a website make an HTTP request to "localhost"? How does it get around the cross-domain policy?