Authentication (next-auth) Persistence Issue with iOS Home Screen Web App
Hello Everyone,
I'm currently working on a web application built with next-auth and react and I'm trying to enable web push notifications for users that have iOS mobile devices. To achieve this, I need my users to bookmark the app to their home screen, making my app appear similarly to native apps on the iPhone's home screen (basically a PWA?).
However, I am encountering an issue. After users bookmark the app to their home screen and open the app from there, they are required to sign in again, even though they were previously authenticated. My aim is to have the users automatically signed in when they open the app from the home screen, without having to re-enter their login credentials the first time they open the home screen app.
Is this even possible? I notice that some high production value apps like Notion and Linear make me log in again after saving their apps to my home screen. Hopefully someone has encountered this issue before or have some ideas on how to solve it.
Thanks in advance!
0 Replies