|
|
|
|
|
by TobbenTM
510 days ago
|
|
I think the main attack vector they are trying to protect against is XSS attacks. If a malicious actor manages to inject client side code, there’s nothing preventing them from exfiltrating tokens and gaining persistent user access. This because there is no Secure Enclave to store tokens in in browsers.
The bff pattern can solve this by using HTTP only cookies, keeping all session tokens on the server.
For high security scenarios like banks and health it makes sense, but there are so many more attack vectors that it’s not gonna cover it all. |
|