<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AA1B2qCQFOkta Classic EngineSingle Sign-OnAnswered2024-06-11T22:40:34.000Z2024-06-10T17:34:14.000Z2024-06-11T22:40:34.000Z

SenthilS.81421 (Customer) asked a question.

Vanity domain solution - for the 3rd party cookie - is not working

Our application runs on - https://app.mydomain.com

 

I have a federation setup as a service provider for a company (abc.com) with assertion URLs like mydomain.okta.com. After the SAML handshake, we call mydomain.okta.com/session/me endpoint and later mydomain.okta.com/authorize endpoint to get access token based on sid cookie. This is the cross-site call., we are trying to avoid.

 

As a suggested solution with vanity domain, I have set-up a vanity domain like sso.mydomain.com. Will this work without any change in the existing federation setup? The answer is NO, its not working.

 

When we tried with vanity domain setup(sso.mydomain.com), we got error in sso.mydomain.com/session/me (404) endpoint & in sso.mydomain.com/authorize (401) endpoint. Because, there were no sid in the cookie for both the calls. The sid cookie was created under mydomain.okta.com, as that was the end of SAML handshake calls.

 

How can we get the token in the SAML federation workflow? What is the correct way to utilize vanity domain to avoid 3rd Party cookie issues in the modern browser without changing the browser settings?


This question is closed.
Loading
Vanity domain solution - for the 3rd party cookie - is not working