Vue.js · Architecture · Tech Lead · Architecture
Design auth flow architecture in Vue.
Short Interview Answer
Auth store, router guards, token refresh interceptor, secure storage choices.
Detailed Explanation
Keep tokens out of localStorage if threat model requires; prefer httpOnly cookies when feasible.