Hi, has anyone implemented a custom supertokens au...
# share-your-work
a
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
hey @alpha_ the middleware on the backend should not be affected by the frontend stack.
Am i misunderstanding your question?
a
umm probably yes, I mean I'm looking for some good implementation on protecting frontend routes
a
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
r
right. I don't think we have an example of that.
3 Views