Shopify App Development - Shopify App Authentication

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มิ.ย. 2021
  • How does the Shopify App Authentication work. Embedded Apps, JWT-Tokens vs Cookies, and O-Auth. Learn what frontend and backend changes are associated with setting up session tokens.
    ► Free Help
    --------------------------------------------------------------------------
    🎯 Get Personal Career Advice for Shopify Developers:
    codingwithjan.com/personal-ca...
    👨‍💻 Find a qualified Shopify Developer for your next project:
    codingwithjan.com/hire-a-deve...
    ► Contact
    --------------------------------------------------------------------------
    🌐 Website
    codingwithjan.com
    🤝 LinkedIn
    / jan-frey
    📚 Recommended Resources
    Jason’s and Paulo’s Lifestream on JWT Tokens
    • Learn how to implement...
    Shopify App Bridge:
    shopify.dev/tools/app-bridge
    www.shopify.ca/partners/blog/...
    Authenticate an embedded app using session tokens
    shopify.dev/tutorials/authent...
    O-Auth Access Tokens
    www.shopify.com/partners/blog...
    🔎 SEO Description
    Shopify apps are custom web applications that add certain functionalities to Shopify stores. Developers host Shopify apps on their own infrastructure and hosting solutions. So you can host your app anywhere, and build it with the tech stack of your choice. A public Shopify app can interact with the Shopify API on behalf of multiple stores and in order to authenticate with Shopify, you need to generate the credentials from your Partner Dashboard and then use them to implement OAuth. The individual stores also need to authenticate with your app server, so that you can tell who is logged in and who is making the requests. This tutorial describes the requirements, recommendations, and frontend and backend changes associated with setting up session token authentication in your embedded app.
    codingwithjan.com

ความคิดเห็น • 45

  • @CodingWithJan
    @CodingWithJan  3 หลายเดือนก่อน

    🎯 Get Personal Career Advice for Shopify Developers:
    codingwithjan.com/personal-career-advice
    👨‍💻 Find a qualified Shopify Developer for your next project:
    codingwithjan.com/hire-a-developer

  • @davidt01
    @davidt01 2 ปีที่แล้ว +3

    This really helped me understand how the whole auth step works. I was confused about what the difference between OAuth and Session Tokens were, but now I understand. I wish I would have watched this before creating my own auth token system for my database. I guess I have some changes to make on my backend.

  • @marceugeni
    @marceugeni 3 ปีที่แล้ว

    just in time!!! !!! keep on please!!

  • @johndough2926
    @johndough2926 3 ปีที่แล้ว

    Hi, I was watching your tutorial on installing the Pinterest tag. I've got it set up and the chrome extention is telling me that it is recognizing all events that I want it to. I was thinking that once you have your tag set up and it's recognizing purchase events pinterest would allow you to run ad campaigns with the converstion objective. It' seems I need a specific amount of purchase before they allow me to run conversion objective campaings. Would u know how many conversions I need before they allow me to run conversion objective campaigns?

  • @is-sam
    @is-sam 2 ปีที่แล้ว

    This clearly helped a lot understanding the workflow, but as I am developping an app with PHP can I still use AppBridge ? Is there any other way of getting the JWT tokken without AppBridge ? And how about API calls, I still need an access token for that ?

  • @groovebird812
    @groovebird812 2 ปีที่แล้ว

    what i don't understand, where do we have to store the jwt token? we have to send it with the request but after creation of the jwt we need an option to save.

  • @mohammedthahir9909
    @mohammedthahir9909 2 ปีที่แล้ว

    Thansk man! it's very informative and you explained it well!

    • @CodingWithJan
      @CodingWithJan  2 ปีที่แล้ว

      Thanks Mohammed! Always happy to help😁

  • @Aerotk
    @Aerotk 3 ปีที่แล้ว +1

    The only mysterious question i am finding that how the extra product options apps work. Like how they updated the price of the product in the cart. Can you tell me a little bit?

  • @rishabhaggarwal5618
    @rishabhaggarwal5618 3 ปีที่แล้ว

    I am trying to develop an app using the shopify APIs, but unable to figure out how order payments work, I want the same payment options as in Shopify web store, is there a way to do it with APIs or do I have to use the SDK ?

  • @dawid_dahl
    @dawid_dahl 2 ปีที่แล้ว

    Great video! Thanks a bunch.

    • @CodingWithJan
      @CodingWithJan  2 ปีที่แล้ว

      Glad it was helpful Dawid 😁

  • @swativanmane1769
    @swativanmane1769 3 ปีที่แล้ว

    Helpful Video Jan ! Can you please make video on all development tools difference for shopify Thank you

  • @9995379350
    @9995379350 2 ปีที่แล้ว +1

    Can anyone explain how to save the access token while installing the app.

  • @DaviAreias
    @DaviAreias 2 ปีที่แล้ว

    After months I’m starting to understand this, but one major thing that Shopify doesn’t explain is what to do when your JWT expires (it only lasts 1 minute). The Shopify node app just throws an error, and I didn’t find a way to renew it.

  • @MrDaveC84
    @MrDaveC84 3 ปีที่แล้ว

    Wie immer: MEEEGA Jan, super hilfreich! Können bestimmt viele DEV's von Profitieren, um zumindest das Problem erstmal zu verstehen. Steht Eshop Guide bei den Apps ja auch bevor.
    Much Love ma man!

    • @CodingWithJan
      @CodingWithJan  3 ปีที่แล้ว

      Danke Dave!! Much love zurück 😄✌️

  • @aimranovlogs4153
    @aimranovlogs4153 2 ปีที่แล้ว

    Can you send login endpoint or at least hit an api in postman. I am developing android app I have created a user now I want him to login but I can't find out a way. Can you help please

  • @wreckball2315
    @wreckball2315 2 ปีที่แล้ว

    So I'm a beginner in Shopify app, but have good dev experience. I have my own website with own authentication (lets say, using username and password). Now I want to do is embed that website into Shopify. What are the resources that I need to go through.

  • @evanwang731
    @evanwang731 2 ปีที่แล้ว

    Hi Jan, This is the best shopify tutorial that I have watched. Very very very very useful. I want to be your friend. I am a front-end developer. Also, I am a big fan of shopify.

    • @CodingWithJan
      @CodingWithJan  2 ปีที่แล้ว

      Hey Evan,
      Thanks for your support 🙌🏻

  • @CodingPhase
    @CodingPhase 3 ปีที่แล้ว

    Great explanation

    • @CodingWithJan
      @CodingWithJan  3 ปีที่แล้ว

      Hey Joe, thanks so much 😄🙏

  • @paulkempf293
    @paulkempf293 ปีที่แล้ว

    I love your content Jan , I study digital marketing and full stack, so I enjoy been able to use both to create the best Store
    Quick question: is it posible to enable login with google for customer in Shopify ? Can it be done with code and is it a wise thing to do or do you recommend using an app?
    Thanks a lot again

    • @CodingWithJan
      @CodingWithJan  ปีที่แล้ว

      Hey Paul, thanks for the great feedback! :-)
      Unfortunately, Google login can't be done with code in the theme.
      There's an app called OXI Social Login, which might help :-)

  • @draken_xyz3236
    @draken_xyz3236 7 วันที่ผ่านมา

    How do you reauthorize a Shopify app?

  • @kimberlycampos5470
    @kimberlycampos5470 3 ปีที่แล้ว

    You’re so cute and nerdy. I can always count on your videos to make me laugh 😂

    • @CodingWithJan
      @CodingWithJan  3 ปีที่แล้ว +1

      It just seems like you have a great sense of humor. 😄
      And 3 Dogs 😮

    • @kimberlycampos5470
      @kimberlycampos5470 3 ปีที่แล้ว

      @@CodingWithJan Don’t forget the cat 😂 She’s the newest addition to the family 😺

  • @danielwall1277
    @danielwall1277 3 หลายเดือนก่อน

    would you recommend cold emailing to promote a shopify app?

    • @CodingWithJan
      @CodingWithJan  3 หลายเดือนก่อน +1

      only if done right

  • @JonnyBanana21
    @JonnyBanana21 2 ปีที่แล้ว

    Hallo Jan bist du noch als Freelancer tätig? Ich suche jemanden der für mich eine Shopify App schreibt. LG

  • @DaviAreias
    @DaviAreias 2 ปีที่แล้ว +2

    I find shopify apps so confusing ☹️

    • @CodingWithJan
      @CodingWithJan  2 ปีที่แล้ว +1

      Hey Davi, think of them as an external server that interacts with your store 😀

  • @WeeklyHow
    @WeeklyHow 3 ปีที่แล้ว +1

    I've been studying this as well for the past few days and it gets super complicated fast especially if your app is non-SPA. Or maybe, I'm just too dumb to understand this. 😂

    • @CodingWithJan
      @CodingWithJan  3 ปีที่แล้ว

      Non-SPA, in this case kinda like playing on nightmare mode 😅

    • @sv2109
      @sv2109 3 ปีที่แล้ว +3

      I saw your videos and you are definitely not dumb :)
      For me it was super complicated too. But it became much easier when I realized that I don't really understand what is JWT and oAuth2 and how exactly they work. I spent some time to learn them plus I found great tutorials about authorization and authentication on shopify.dev, read them several time until understand every step. And now I still can't say that I know everything but it definitely is not such complicated as was before.

  • @AsaCarter78
    @AsaCarter78 ปีที่แล้ว

    Goodbye server side embedded apps 😢