share-me
share-me copied to clipboard
Visiting logged in user's settings or profile logs them out
Whenever a logged-in user attempts to visit Settings or their Posts page, they are logged out. I also can't view/create API tokens as a result.
Interesting! That sounds like an incorrect setup somewhere with your reverse proxy. I'm using Traefik and do not experience that issue. Can you provide any additional insight into your setup and how it's running?
Hi @Ynd21! I'm using Nginx Proxy Manager and set up two custom locations for /api
and /_
. Doing so seems to work properly and leads to the correct URL. Screenshots:
Additionally, no errors appear on the logs of either container.
What auth methods do you have enabled?
Just OAuth2.
I doubt that this is causing the issue, but could you add /_next
as a forward to the frontend? It's not quite ideal, but because mobile browsers remove the trailing slash you need to forward /_
to the PocketBase UI, but /_next
since that's where assets and some JSONs are hosted.
As for the other issue I'll have to look into it. Can you provide any console logs? You can open the Developer Tools with F12 and check out the network tab for additional debugging information as well.
Apologies for the delay. Adding /_next
as a forward does not make a difference, unfortunately.
Here are the console logs I receive when navigating to my user's settings: