App reviews, troubleshooting, and recommendations
I am creating a new app using @Shopify/shopify-app-remix as per documentation. I want to pass an offline accesToken to my backend and use it for GraphQL Admin API? Where in the documentation can I read how to do this????? In which specific object property it is located, in which place of remix application to make a request to my backend? Is it even possible to make a request to a third-party api? Please help
export async function loader({ request }) { const { admin, session } = await authenticate.admin(request); } export default function Index() { const { relax } = useLoaderData(); return ( <Page> <ui-title-bar title="QR codes"> test-app-sinevik </ui-title-bar> <Layout> <Layout.Section> <Card padding="0"> <p>{relax}</p> </Card> </Layout.Section> </Layout> </Page> ); }
If you are using the Shopify Remix App template then you don't need to manually handle OAuth.
By default app will be creating and saving an offline token during OAuth. It is present in session token, You must have to check seesion object.
console log the session and you will find it
I can send it right there to my backend and save it to my database right? The backend address can be anything?
Maybe you know how to solve the problem with console output in remix templates?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024