{"id":27647,"date":"2018-12-07T09:19:59","date_gmt":"2018-12-07T16:19:59","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/premier-developer\/?p=27647"},"modified":"2019-02-14T20:17:43","modified_gmt":"2019-02-15T03:17:43","slug":"preventing-single-sign-on-sso-redirects-from-opening-a-new-window-inside-a-progressive-web-application-pwa","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/preventing-single-sign-on-sso-redirects-from-opening-a-new-window-inside-a-progressive-web-application-pwa\/","title":{"rendered":"Preventing Single Sign On (SSO) Redirects From Opening a New Window Inside a Progressive Web Application (PWA)"},"content":{"rendered":"<p>Premier Developer Consultant <a href=\"https:\/\/www.linkedin.com\/in\/waelkdouh\/\">Wael Kdouh<\/a> 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.<\/p>\n<hr \/>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-content\/uploads\/sites\/31\/2019\/01\/image9.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-content\/uploads\/sites\/31\/2019\/01\/image_thumb8.png\" alt=\"image\" width=\"242\" height=\"244\" align=\"right\" border=\"0\" \/><\/a>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.<\/p>\n<p><a href=\"https:\/\/medium.com\/@waelkdouh\/preventing-single-sign-on-sso-redirects-inside-a-progressive-web-application-pwa-d0762223d2f7\">Continue reading on Wael\u2019s blog.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":582,"featured_media":27648,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[127,96,55],"tags":[310,350,3,107],"class_list":["post-27647","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile","category-security","category-web","tag-progressive-web-applications","tag-sso","tag-team","tag-webbrowser"],"acf":[],"blog_post_summary":"<p>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.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/27647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=27647"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/27647\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/27648"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=27647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=27647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=27647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}