สำหรับวีดีโอนี้ เราจะมาเพิ่มเรื่องของแนวคิดการที่จะทำ Authorization based on resource identity
1. มีการเพิ่ม Table ใหม่
2. แทรกแนวคิด และ grouping ตัว API ที่เกี่ยวข้องว่าตัวไหนจะใช้กับ role อะไร
3. ทำระบบ Login/Logout แต่ยังไม่ทำ Refresh Token endpoinnt
Code example
https://github.com/marttp/20240629-Go...
Spring Data JDBC Query Methods
https://docs.spring.io/spring-data/re...
หวังว่าจะมีประโยชน์ไม่มากก็น้อยครับ 🙇♂️
ขอให้ทุกคนมีความสุข
GitHub: https://github.com/marttp
LinkedIn: / thanaphoom-babparn
Medium: / tpbabparn
Linktree: https://linktr.ee/tpbabparn