Can’t stay logged in after closing the PWA App
-
Visitor is logged in but when PWA app is closed, login session is timed out. And visitor has to log in to the PWA app again.
Can y
The page I need help with: [log in to see the link]
-
Sorry for the inconveniene. Can you please share the short video of the issue for reference purposes? So that we wil go though it and assist you accordingly to resolve your issue.
Please find the screen cast in attached drive link
@imani3011: Thanks for sharing the video. Can you please let us know, How to register to test the issue? There is no option there to register as new. Kindly to let us know, So that we will check the issue and assist you accoringly.
After registering into it and entering the details also, We are getting like this. The images are not showing: https://prnt.sc/GsKJ2PxxU5jX
Can you please check once and let us know back?
@superpwa That is purposefully disabled for sometime. Displaying images is no where related to the login session issue. If you will close the PWA app after logging in, you would be asked to login again in order to access page. Whereas this is not the case when browsing the website from desktop or mobile browser. Login session is retained even when browser is closed and opened again.
Well. Thank you for the confirmation. We didn’t get any logout issue when we are checking it on our device. It might be due to caching problem. Please clear it once and let us know back the response.
Here is the reference from our end: https://tempclip.com/en/IpB08SocitH4PDS/watch
In your screencast, app is running in background process. You haven’t killed the app from background. Close/kill the PWA App and then try.
Yes. It is happening. Can you please share the all screenshots of your SuperPWA dashboard settings setup once? So that we will look into the setup once and get back to you.
Thanks for confirming. Please find the settings screenshot in link mentioned below
-
This reply was modified 2 years, 3 months ago by
Himani Lotia.
Thanks for sharing. please clear us some points.
1. Have you did some custom code to achieve login in front page or destroy cookie in the mobile application.
2. any custom development on the theme to manage application login page (or manage redirections)Please clear the above points, So we can find the root cause of the issue and resolve it.
@superpwa We did add custom hook to redirect to login page when user is not logged in using template_redirect filter. Have disabled that hook temporarily. You can now find login link on clicking the hamberger menu icon in PWA app. It will be redirected to default wp-login.php file.
Previously, we used Theme my login plugin for custom login page. It has been disabled as well.
Please let me know if you need anything else
Thank for the detailing. Can you please check once by clearing cookies and cache and let us know back the response result? So that we will assist you accordingly to resolve your issue.
@superpwa Thank you for all the support. It seems custom hook was creating the conflict and the issue is fixed after disabling the hook. Thanks a lot!
You’re welcome. Glad to hear the issue has been fixed. If you have any other queries or issues further, You can reach out to us by opening a new thread/topic. So that we will assist you to resolve them.
-
This reply was modified 2 years, 3 months ago by
- The topic ‘Can’t stay logged in after closing the PWA App’ is closed to new replies.