Next.js Tutorial - Part 6 | Authentication for API Routes using JWT and bcrypt

Published: 24 March 2020
on channel: Bruno Antunes
85,286
2.3k

This video shows the Theory and Code needed to build an Authentication system.

We use bcrypt and JWT tokens. We also go through the different strategies to store authentication tokens between different sessions, showing the possible issues with the different strategies.

If you want to jump directly into code go to 20:45

----
Repository: https://github.com/bmvantunes/youtube...
----
Next.js Examples: https://github.com/zeit/next.js/tree/...
----
Slides available at: https://docs.google.com/presentation/...
----
All references about I used for this video:

https://developer.mozilla.org/en-US/d...

https://cheatsheetseries.owasp.org/ch...

https://stormpath.com/blog/where-to-s...

https://developer.mozilla.org/en-US/d...

https://en.wikipedia.org/wiki/Same-or...

https://owasp.org/www-community/attac...

https://www.scottbrady91.com/OAuth/OA...

https://letsencrypt.org/

https://tools.ietf.org/html/rfc7519

https://codahale.com/how-to-safely-st...
----

Follow me on:
Twitter:   / bmvantunes  
Dev.to: https://dev.to/bmvantunes
Website: https://brunoantunes.net
Github: https://github.com/bmvantunes
LinkedIn:   / bmvantunes  


Watch video Next.js Tutorial - Part 6 | Authentication for API Routes using JWT and bcrypt online without registration, duration hours minute second in high quality. This video was added by user Bruno Antunes 24 March 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 85,286 once and liked it 2.3 thousand people.