Learn Hono Framework by Building API Authentication | Tested in Postman

Поделиться
HTML-код
  • Опубликовано: 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 5 месяцев назад +22

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

    • @thedevcorners
      @thedevcorners  5 месяцев назад

      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...

  • @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)

  • @szymdzum
    @szymdzum 4 месяца назад

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

  • @luckyplaya84x
    @luckyplaya84x 3 месяца назад

    Zoom ur screen next time

  • @ljlinen
    @ljlinen 20 дней назад

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

  • @kingramius5089
    @kingramius5089 4 месяца назад

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

  • @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;
      }
      },
      })
      );

  • @mywebsite
    @mywebsite 3 месяца назад

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

  • @kiddie-7287
    @kiddie-7287 10 дней назад

    WTF FFONT