# Multiple apps in the same portal

**URL:** <https://devforum.okta.com/t/multiple-apps-in-the-same-portal/2207>\
**Category:** SAML\
**Created:** [July 19, 2018, 4:12pm UTC](https://devforum.okta.com/t/multiple-apps-in-the-same-portal/2207 "2018-07-19T16:12:45Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jliu](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@jliu](https://devforum.okta.com/u/jliu)\
**Post date:** [August 15, 2018, 2:55pm UTC](https://devforum.okta.com/t/multiple-apps-in-the-same-portal/2207/11 "2018-08-15T14:55:06Z")

</div>

Hmm, did not see any notification about new replies to this thread.

You are right that cookies are domain & port specific. Okta session cookie will allow the browser to log into your second app without seeing Okta login widget.

A few thoughts on why it did not work - first, Okta session cookie is session bound, it’s gone when

- The browser processes are killed, which cleans up all session cookies, or
- User clicked Okta logout link, or
- Session expired (2 hours of inactivity)

Second, it’s a puzzle that you do not see Okta session cookie. I have seen the session behavior between an Okta SAML app and Okta dashboard. Could there be anything in your app configuration that prevent session behavior/cookie?

And last, looks like this thread is related to your question:

> [@Can I use the Okta Sign-In Widget, OIDC and normal Okta session functionality?](https://devforum.okta.com/t/can-i-use-the-okta-sign-in-widget-oidc-and-normal-okta-session-functionality/998):
>
> The primary use case is that the widget would be used to get an id\_token and then it would be passed to a downstream app (App A) which would consume it and SSO the user and issue an app session token of their own. In addition, a link within App A would then trigger an SP-initiated SAML flow to another downstream app (App B). As App B can’t consume an id\_token, we would need to exchange it during initial Okta auth (I would think) for an Okta session cookie. I’m relatively clear on using the [foll…](https://developer.okta.com/code/javascript/okta_auth_sdk)

Hope that helps.

---

_[View the full topic](https://devforum.okta.com/t/multiple-apps-in-the-same-portal/2207)._
