Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIs in Shopify App Remix Template #393

Closed
pkyek1 opened this issue Aug 8, 2023 · 3 comments
Closed

APIs in Shopify App Remix Template #393

pkyek1 opened this issue Aug 8, 2023 · 3 comments

Comments

@pkyek1
Copy link

pkyek1 commented Aug 8, 2023

i have started the work on shopify new app remix template

i want to know about api request

i have created apis in new remix app template

and apis are working fine

but these api are for storefront end

currectly anyone can use apis by endpoint

i want to it to return response if its authenticated from valid store

do you guys think that is this something related with

await authenticate.admin(request); // its going to login page

or

await authenticate.public(request); // its returning 401 error

any help will be appriciated

@pkyek1 pkyek1 changed the title Billing Plans in Shopify App Remix Template APIs in Shopify App Remix Template Aug 9, 2023
@sam-masscreations
Copy link

+1 on this

@byrichardpowell
Copy link
Contributor

Thanks for creating an issue and sorry we missed this functionality.

I'm going to close this issue as it's a duplicate of Shopify/shopify-app-template-remix#295

We will follow up in that issue.

@huykon
Copy link

huykon commented Aug 21, 2023

do you guys know which param or step required for await authenticate.public(request); because curently its returning 401 error now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants