#Tips on auth in SvelteKit

2 messages · Page 1 of 1 (latest)

undone axle
#

I would love some pointers or example of how to efficiently protect routes in Sveltekit when using Payload for authentication.

Login part is done and I am setting the jwt as a cookie. From what I can gather I should use hooks in SvekteKit, correct?

Would love a working example or similar

pearl gateBOT