You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a new feature in browsers called Storage Partitioning which prevents iframes in pages that rely on a login popup to authenticate. Logging into an identity provider via a popup window from an iframe within a host window causes browser storage partitioning to break the authentication flow. For example, when developing a Microsoft Teams Tab single page application, and logging into a third party identity provider with OAuth 2.0 Authorization Code PKCE flow from a popup window, breaks the process. Disabling this feature via chrome://flags/#third-party-storage-partitioning seems to resolve it in Chrome but not in Chromium or other browsers. This issue seems to affect other applications, including PowerBI embedding. There are some workarounds such as using url parameters or postMessage mentioned in this article. It would be great if there was an option to use a state provider that did not rely on partitioned storage somehow.
The text was updated successfully, but these errors were encountered:
szahn
changed the title
Workaround for Storage Partitioning
Workaround for Third Party Storage Partitioning
Oct 11, 2023
There is a new feature in browsers called Storage Partitioning which prevents iframes in pages that rely on a login popup to authenticate
Note that this behavior has shipped in Safari and Firefox for quite some time - Chrome is just catching up. How does this library work in those browsers?
We found a temporary workaround by using postMessage to send the oidc session from the storage in the popup back to the iframe in the host window. However, it would be ideal if the library would have built-in support for partitioned storage.
There is a new feature in browsers called Storage Partitioning which prevents iframes in pages that rely on a login popup to authenticate. Logging into an identity provider via a popup window from an iframe within a host window causes browser storage partitioning to break the authentication flow. For example, when developing a Microsoft Teams Tab single page application, and logging into a third party identity provider with OAuth 2.0 Authorization Code PKCE flow from a popup window, breaks the process. Disabling this feature via
chrome://flags/#third-party-storage-partitioning
seems to resolve it in Chrome but not in Chromium or other browsers. This issue seems to affect other applications, including PowerBI embedding. There are some workarounds such as using url parameters orpostMessage
mentioned in this article. It would be great if there was an option to use a state provider that did not rely on partitioned storage somehow.The text was updated successfully, but these errors were encountered: