Preventing Single Sign On (SSO) Redirects From Opening a New Window Inside a Progressive Web Application (PWA)
Premier Developer Consultant Wael Kdouh digs into the problem of SSO forcing an application to open a new window inside the browser instead of carrying the redirect inside the application shell.
I was recently working on a PWA application that utilizes SSO and one odd behavior that I noticed right off the bat was the fact that the SSO redirects forces the application to open a new window inside the browser instead of carrying the redirect inside the application shell. This is problematic as it defies the whole purpose of a PWA which attempts to make a web application feel native. Furthermore, the behavior varied depending on the browser/platform where the application was being loaded. Specifically, the issue was present under Chrome for Windows and Safari for IOS.