In this video we look at how SvelteKit can be used with JSON Web Tokens (JWT) in order to provide access to protected information from an API. In this scenario we use Strapi as a headless content management system which provides us with a user account that can be authenticated into. Once we authenticate into our user account from Strapi we us a JWT with SvelteKit in order to fetch protected data from our API to display in our profile.

If you enjoy my content you can find me on Twitter @BraydenGirard and make sure you are subscribed on YouTube so you don’t miss out on upcoming content!

https://twitter.com/BraydenGirard

#sveltekit #jwt #strapi

How to use JWT with SvelteKit and Strapi
12.15 GEEK