Rails 6 API Tutorial - Authentication with JWT Intro p.18

Опубликовано: 05 Октябрь 2024
на канале: Rails Pro
5,334
89

In this video series we will build a Rails API from scratch. Backend APIs are useful for serving data to frontend applications, mobile apps or other backend services.

✨ Check out the new version of this video series, which has been updated for Rails 7    • Rails 7 API Tutorial - Create project...  

📖 You can also purchase the eBook and code for the new Rails 7 tutorial - https://tomkadwill.gumroad.com/l/rail...

This video covers:
0:00 - The purpose of adding authentication
0:28 - How authentication works with a JSON Web Token (JWT)
1:08 - What is a JWT?
2:14 - Storing a user identifier in the JWT payload
2:57 - Auth flow using JWTs

If you’re new to this series, you may want to start with part 1:    • Rails 6 API Tutorial - Create project...