thainguyencoffee / bookstore-full-stack

Full stack project using Spring framework with Vue
2 stars 0 forks source link

[Security] Tham vọng tích hợp Backend for Frontend pattern #98

Closed thainguyencoffee closed 2 months ago

thainguyencoffee commented 2 months ago
thainguyencoffee commented 2 months ago

Một Backend for Frontend là một middleware giữa một frontend và REST APIs, có thể có những mục đích khác nhau. Ở đây, issue này sẽ quan tâm tới OAuth2 BFF, là cầu nối giữa request authorization sử dụng session cookie (với frontend) và authorization sử dụng Bearer token (như mong đợi bởi resource servers). Trách nhiệm của nó là: