Ep5 Golang Microservice JWT Authentication and Refresh Token

Поделиться
HTML-код
  • Опубликовано: 6 ноя 2024

Комментарии • 21

  • @ramdoni3935
    @ramdoni3935 3 месяца назад +2

    Yoshaaaa Ready for continue best learn journey🔥🔥🔥🔥

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

      😂

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

      @@dhij please update your repo :) example best code

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

      @@ramdoni3935 updated 🙂

  • @josepmdc
    @josepmdc Месяц назад

    your channel is a gold mine, thank you for making these videos!

    • @dhij
      @dhij  Месяц назад

      Glad to hear you liked the videos!

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

    Epic. I was looking for the same thing all day

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

      nice 👍

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

    AMAZING! Please keep doing

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

      thank you! will do 👍

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

    Great 👍

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

    👏👏👏

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

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

    Shouldn't the renew access token endpoint also return a new refresh token?

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

      nope, the renewAccessToken endpoint will only return the access token as the name of the endpoint suggests 🙂

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

      @@dhij so after 24 hours you can’t renew anymore? Seems quite bad for users no?

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

      @@Natewd you could give your refresh token a 7 day lifetime if you would like 🙂

    • @alexluo1998
      @alexluo1998 6 дней назад

      There's a concept called refresh token rotation that does exactly this, but for a different reason (to make it more secure). But I think in some sense it can achieve what you want (to extend the lifespan of it dynamically)

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

    Thank you bro, I hope there will be a next project, Authentication and Refresh Token with CRUD

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

      yup the next episode is on authorization middlewares to authorize users to different CRUD endpoints 👍

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

      When release heheheheh😂😂😂​@@dhij