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

Описание к видео Next.js Tutorial - Part 6 | Authentication for API Routes using JWT and bcrypt

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  

Комментарии

Информация по комментариям в разработке