# Single Sign-On Across Multiple Domains by disabling third party cookies using Okta-Auth-Js

**URL:** <https://devforum.okta.com/t/single-sign-on-across-multiple-domains-by-disabling-third-party-cookies-using-okta-auth-js/11394>\
**Category:** Questions\
**Created:** [October 17, 2020, 1:06pm UTC](https://devforum.okta.com/t/single-sign-on-across-multiple-domains-by-disabling-third-party-cookies-using-okta-auth-js/11394 "2020-10-17T13:06:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmani](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@cmani](https://devforum.okta.com/u/cmani)\
**Post date:** [October 17, 2020, 1:06pm UTC](https://devforum.okta.com/t/single-sign-on-across-multiple-domains-by-disabling-third-party-cookies-using-okta-auth-js/11394/1 "2020-10-17T13:06:24Z")

</div>

We have implement the SSO login across Multiple domains using \* [token.getWithoutPrompt](https://github.com/okta/okta-auth-js#tokengetwithoutpromptoptions). GetWithoutPrompt(okta+javascript) must have access to cookies on the Okta domain via an iFrame.

Since all the modern browsers (chrome, safari) have disabled third party cookies, Is there another way to achieve SSO login and token renewal even when third party cookies are disabled.

Went through the Okta Custom domain suggestions, it may work for SPA or single domain, but our case its multiple domains. eg: Application1 is a plugin that can be plugged into any apps with different domains(Jira plugin)

---

<div class="post-metadata">

**Author:** ![cmani](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@cmani](https://devforum.okta.com/u/cmani)\
**Post date:** [October 20, 2020, 9:30am UTC](https://devforum.okta.com/t/single-sign-on-across-multiple-domains-by-disabling-third-party-cookies-using-okta-auth-js/11394/2 "2020-10-20T09:30:15Z")

</div>

@andrea - Can you please provide suggestions for the above question. Looking forward for your reply.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [December 4, 2020, 9:53pm UTC](https://devforum.okta.com/t/single-sign-on-across-multiple-domains-by-disabling-third-party-cookies-using-okta-auth-js/11394/3 "2020-12-04T21:53:58Z")

</div>

Sorry for the delay! If you’re worried about 3rd party cookies, you could potentially use refresh tokens as well. Right now, refresh tokens will only be issued to a backend, but we are looking to offer the ability to use refresh tokens for SPAs as well to help in scenarios such as this. Here’s [our guide about refresh tokens](https://developer.okta.com/docs/guides/refresh-tokens/overview/), if you’ve not used them before.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 19, 2024, 12:51am UTC](https://devforum.okta.com/t/single-sign-on-across-multiple-domains-by-disabling-third-party-cookies-using-okta-auth-js/11394/4 "2024-01-19T00:51:20Z")

</div>

Closed on January 19, 2024, 12:51am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
