Learn Hono Framework by Building API Authentication | Tested in Postman

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • Unlock the secrets of API authentication with our comprehensive tutorial on the powerful Hono Framework. Whether you're a seasoned developer or just starting out, our practical approach and real-world examples ensure you'll grasp the concepts effortlessly. Plus, with our hands-on demonstrations tested in Postman, you'll gain practical insights that you can apply immediately :). Subscribe now and dive into the world of Hono Framework mastery!
    Source code:
    Starter: github.com/wib...
    📍My Blog:
    www.wibawaarif...
    #bun #nodejs #expressjs #hono #postman #api #backend

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

  • @preetjariwala9300
    @preetjariwala9300 4 หลายเดือนก่อน +21

    You should zoom your text a bit before recording; don't you think so?

    • @thedevcorners
      @thedevcorners  4 หลายเดือนก่อน

      Yes, I just realized it. Thanks for your input :)

  • @MarlonEnglemam
    @MarlonEnglemam 4 หลายเดือนก่อน +5

    nice video but please make the font size larger, hard to follow along...

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

      alright. Next time!

  • @unixrebel
    @unixrebel 21 วันที่ผ่านมา

    25% larger text. its kinda crazy you didnt notice that before uploading.

  • @kynjal23
    @kynjal23 4 หลายเดือนก่อน +2

    you should zoom out the video , this is very bad content

    • @thedevcorners
      @thedevcorners  4 หลายเดือนก่อน +1

      Thanks for the input, we will make it better in upcoming videos!

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

    manythanks! but can you make 'index' have Authorization header automatically after successfull login, I still haven't found a solution :< (sorry for my bad English)

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

    what? you are checking that token in Berear header equals to value in cookie? why? shouldn't you call verify method to see whats inside, only if you can open it (so verify) you guarantee token is signed correct and issued by you... otherwise i can put any troll value in my cookie and header and get into your system

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

      It's just example bud. Here is the practical way for that case:
      app.use(
      "/index/*",
      bearerAuth({
      verifyToken: async (token, c) => {
      try {
      const decoded = jwt.verify(token, process.env.SECRET || "");
      return !!decoded;
      } catch (err) {
      return false;
      }
      },
      })
      );

  • @ljlinen
    @ljlinen 20 วันที่ผ่านมา

    I'm sorry i don't see anything and ma vid quality is at HD

  • @szymdzum
    @szymdzum 4 หลายเดือนก่อน

    Yeah its a bit to small :) Thanks for showing Hono its getting my interest

  • @kingramius5089
    @kingramius5089 4 หลายเดือนก่อน

    Good intro ! why the cookie auth doesn't work ?

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

    Zoom ur screen next time

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

    Increase the font size...then re-upload it please

  • @kiddie-7287
    @kiddie-7287 9 วันที่ผ่านมา

    WTF FFONT