Створюємо механізм автентифікації та авторизації. Як відбуваються запити, які мають доступ до секретних даних. Що таке jwt та bearer.

https://github.com/chernikov/KaizenCourses/tree/videos/auth_14

Лінки: https://github.com/chernikov
https://www.instagram.com/andriychernikov/
https://www.facebook.com/chernikov1
https://www.linkedin.com/in/andriy-chernikov-1407301

0:00 – Вступ
00:35 – Кроки
00:1:23 – Теорія: як працює токен
00:3:23 – ProtectedController
00:6:15 – Add Auth
00:9:13 – LoginController
00:13:14 – CreateToken
00:19:28 – jwt.io
00:19:58 – Use signature
00:25:39 – Access to protected controller
00:26:01 – jwt secret key to configuration
00:30:00 – Indentify user
00:33:20 – Дякую!