Hi, has anyone implemented a custom supertokens auth ui with vue before? If yes, I would like to know how you handle the middleware in your app?
I'm aware of how to (both back end and frontend), but looking for some good implementation and best practices
r
rp_st
06/30/2023, 9:24 AM
hey @alpha_ the middleware on the backend should not be affected by the frontend stack.
rp_st
06/30/2023, 9:24 AM
Am i misunderstanding your question?
a
alpha_
06/30/2023, 9:25 AM
umm probably yes, I mean I'm looking for some good implementation on protecting frontend routes
rn it's been implemented something similar to this (thanks to the docs) but I'm looking for a more robust implementation...
Protecting all routes in one place under router.js file nd handling things