Frontend Interview Questions 2024 (Part 4)

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ • 8

  • @sonalsawarn
    @sonalsawarn 7 днів тому

    Good job 👍

  • @youzid4746
    @youzid4746 Місяць тому +1

    As always , unique questions with a great answers,
    I appreciate your efforts and I hope you can continue with this series, because its really filling important knowledge gaps :))

  • @timbrap4693
    @timbrap4693 2 місяці тому +2

    In the beginning you mention sending JWT tokens over via a header to your backend. Later on you mention storing the JWTs in a HTTP-only cookie, since cookies are sent over on every request. What is considerd best practice? Extract the token from the cookie on the frontend and place it in an authorisation header? Or send the coookies over to the backend and let the backend extract the token from the coookie?

    • @lucidjade
      @lucidjade 2 місяці тому

      Literally answered at 1:38

    • @josephthawn4722
      @josephthawn4722 2 місяці тому

      Storing JWT is in Local Storage is vulnerable and choose storing in HTTP only is more secure.

  • @tima1301
    @tima1301 2 місяці тому

    thanks

  • @LinhNguyen-gx5fb
    @LinhNguyen-gx5fb 15 днів тому

    The deloyment question part is so difficult for mid level 😐😐😐