Implement Refresh Tokens Today! #authentication #jwt | Svelte | SvelteKit
This was an awesome one to shoot! How to implement refresh tokens in your application. I show the normal flow, and then I go step by step taking a regular login and adding the refresh token check. I also show how to implement TWO handle hooks functions using sequence from SvelteKit. I hope you find this helpful!
Note: For best security use a separate server to implement all your authentication and another server for all your resources.
Need help? visit https://www.consultingninja.tech
Check out my channel @ConsultingNinja for more videos like these.
Source code here:
https://github.com/consultingninja/refreshTokens
Authentication video here:
https://youtu.be/HzB5wvU6A_E
Register Form video here:
https://youtu.be/pwgLkAKp4Ik
Mongodb Docker setup video here:
https://youtu.be/itbdAexvutI
Setup Env File Video here:
https://youtu.be/ai8PJgxF9Lw
Hookup Mongodb to SvelteKit video here:
https://youtu.be/AbQ-k232bd8
Comments are closed.