Fetching currently logged in customer for custom app

Hey @Barak_Setton - just following up here, let me know if the above works for you. Happy to help further if needed.

I think I have a similar situation as above; however when I’m making a call to my app proxy using the primary shopify domain it does an OPTIONS call first b/c it is to another domain and that OPTIONS call is returning a 301 redirect (to my current domain) which causes a CORS error. Is there a workaround where app proxies won’t get redirected?

Hey @Nicholas_Mackey - thanks for flagging, interesting that it’s happening on your primary domain. If you’ve got it handy, would you be open to sharing an x-request-id? Happy to take a look into this further for you.

Sure,

Here is the x-request-id of the OPTIONS call - 97e233d9-60f8-4f60-9725-c7a64082c6cd-1768578430

Thanks @Nicholas_Mackey - sending you a DM here to share some info that might help (has some shop info so wanted to keep this private)

Looks like this was a problem on my side. Thanks for the help!

1 Like