Hi,
Sorry if this is a silly question, but I’m very new to this stuff and am not completely clear from reading the Auth0 docs. What I’m looking to do is to build a progressive web app (PWA). The PWA will contain a sensitive section which visitors can only access after logging in. I realise that the initial log-in needs to connect to the Auth0 APIs in order to authenticate, which requires that the visitor is online. However, what I’d like to do is include a ‘remember me’ checkbox with their log-in form, and if set, their log-in will be remembered even if the visitor goes offline.
So essentially the app needs to work such that after initial log-in the user could go offline and still access the sensitive section of the app.
Does Auth0 support this? If so, would it be implemented as JWT tokens - can they be used as a means of protecting certain pages of a site from being publicly accessible?
FInally are there any simple examples of this kind of thing?
Many thanks!