App Proxy - logged_in_customer_id missing

Hi,

I am having weird issue starting about a week ago. The logged_in_customer_id is missing on the app proxy request to my app server, I am using this to link the user data on my database to the store app.

My app was updated to use the 2025-01 events, but no other major changes. In terms of app permissions I have read_customers scope.

Does anyone know if there were any changes to the app proxy behavior. I can’t find anything related to this in any of the release notes.

It’s kind of a total blocker for my app, so I’ve stopped further development until I can get the issue resolved.

Any help much appreciated.

Regards.

1 Like

logged_in_customer_id will be empty if the customer isn’t logged in - are you still seeing empty values with a logged in customer?

Hi,

Yes, so if I click on the profile icon in the top right I can get to my profile (image attached). But when I log the proxy request, the logged_in_customer_id is missing.

This is the request the proxy is sending:

http://retailer-territories-ports-switched.trycloudflare.com/api/p
roxy/wishlist/12023573-81bd-4854-bcda-fdda3dac5115/product?shop=wis
hlistpro-dev.myshopify.com&logged_in_customer_id=&path_prefix=%2Fap
ps%2Fwishlistpro&timestamp=1746435534&signature=248cc76f0d4ee6cdff4
9053cdc487c6ef8a315f7e51b01f90ebb35334b21e04c

It was all working perfectly fine until last week. The behaviour is weird, if log out and log back in it makes no difference but if I use an incognito window and then login I start to get logged_in_customer_id again.

Hey @drspinor , this looks a lot like this issue posted here Fetching currently logged in customer for custom app

Can you look over that and let me know?

I see you have posted over in that thread. I’ll solve this one for now and we can keep the conversation going over here