Hi Chris,
Thanks for your insights.
I stared this thread to see of someone else had a solution, so since I found a solution I will share it here as well.
After creating this post I continued my search for a solution.
If a native iOS application using IDP Mobile is able to persist the logged in user than technically IDP React should be able to do the same, so I found this post: Persistent Login - OutSystems, note the RememberLogin option.
I started looking in to the IDP, IDP Mobile and IDP React modules and found that the IDP server action UserLogin_React calls the System.Login action with the Persistent value set to false. I changed the Persistent value to True.
Republished the IDP, and IDP React modules as well as my Test application.
And behold, my PWA only logs in once and if I disable my internet connection, than the app keeps working and doesn’t try to redirect me to the Azure authentication pages.
So as a proof of concept it is working but I don’t know how I feel about changing the IDP module source in relation to future updates of the module.