Hi, I've recenlty built a PWA with Mx 9.4. The app has a SAML implementation which works as expected, the same as in a responsive app. The app can be installed to home screen, which creates a shell around the web app using the settings from the manifest json. When the app is opened the first time, it lands on the SSO page, but when the app is already running in the background and reopened from the app overview on the device, it's not reloading: it still can be used offline. This is not a problem, but when i start any online action like Synchronization after a couple of hours after login, the app throws an error and I see the following in the server log: 2021-08-26T19:08:47.183289 [APP/PROC/WEB/0] ERROR - Connector: An error has occurred while handling the request. 2021-08-26T19:08:47.183311 [APP/PROC/WEB/0] ERROR - Connector: java.util.NoSuchElementException: None.get 2021-08-26T19:08:47.183464 [APP/PROC/WEB/0] at scala.None$.get(Option.scala:627) The app is online but still no sync available, the probable cause is a sso session that became invalid. When i then close the app and restart it from the app page, i see the splash screen and the app is being reloaded, giving me the SSO landing page. Does anyone has an idea how to solve this in a web PWA? I need a function when opening the app from background to foregorund to check for a valid SSO token, and when invalid, f.i. reloading the index page. I know this can be done in Native by using an app event. Does anyone know how to do this in an offline pwa page? I can think of a solution by catching the specific error and then reload the page or redirect to sso, but is there any better solution perhaps? EDIT: Looks like it's solved by enabling mobile authentication token within the SAML module.
Sounds like something that Mendix is the best party to help you out. Certainly if this is reproducable. So, besides hoping someone here might help you out, also open a ticket at support.mendix.com