okta-react
okta-react copied to clipboard
okta-react with progressive web app
I am currently build proof of concept progressive web application (PWA) and I would like to allow user to able to access protected routes when they are offline but only if they did sign into the application with internet connection.
Currently when user is offline they are redirected to okta login page once the token is expired. Is it possible to disable this via service worker or okta-react library when they are offline.?
Any help will be appreciated?