Hey folks! 
We’re developing a custom Shopify app using the Remix boilerplate. While it’s straightforward to transfer data between Shopify and our app via App Bridge on the Admin side, we’re facing challenges obtaining tokens from the client-facing UI (an App Extension located in a React subfolder, not wrapped in an App Bridge component).
More specifically, we want to secure the server side of our Remix app, where we have a proxy that communicates with our external backend. Our goal is to transfer a session or access token from the frontend to Remix so our backend can validate that a user is authenticated with Shopify before returning data.
Does anyone have any suggestions?
I hope this could be helpful to you.
Thanks, but isn’t this only for checkout sections rather than a custom page or section in a theme? We tried with no success, but maybe there’s more to it! 
Hi there 
I believe what you are looking for is App Proxies! When you say App Extension are your referring to Theme App Extensions?
App Proxies don’t have session tokens but you can verify the request came from Shopify and view the id of the logged in customer.
If you are using the Shopify App Remix template there are helper functions for authenticating App Proxy requests available for you to use, instead of manually verifying the request came from Shopify.
2 Likes
Thank you Liz, that is exactly what we needed! Cheers 
1 Like