/jwt-auth

Some examples and information about using JWT Authentication

User Authentication using JWT (JSON Web Tokens)

by Jonathan J. Ferragut

Last Revised: 9/15/2020


Introduction

The idea behind creating secured web applications is far from a new concept. In modern coding practices there are many ways to secure your applications, but the one we will cover in this repository will be setting up the front and back end using tokenization.

For coverage on the topic of tokenization, please refer to the on-tokenization.md (PENDING)file in this repository.

This document assumes that you have:

  1. Installed and configured a Wordpress install already
  2. Have a Frontend developed in ReactJS
  3. Are familiar with HTTP Requests

Reading Order

For the Tokenization Novice

  • First brush up on Tokenization concepts by reading on-tokenization.md (PENDING)
  • Next, choose your backend and read the corresponding file (wp-setup.md for wordpress, or python-setup.md for python)
  • Finally, you will need to configure your FrontEnd webapp to work with the api you've developed, so read the react-setup.md document.

For all those versed with Tokenization that just want to dig in

  • To learn how to setup your backend, choose your backend technology and read the corresponding file (wp-setup.md for wordpress, or python-setup.md for python)
  • Finally, you will need to configure your FrontEnd webapp to work with the api you've developed, so read the react-setup.md document.

Conclusion

This write-up was originally meant as a top level overview of users and tokens with your application and not as an in-depth breakdown. However, we have plans to grow this knowledge set for other frameworks and languages in the future.

You will probably need to tailor the approach to your specific app, but hopefully you have gained some insight into working with JWT and tokenization.

If you have any questions, feel free to post an issue on this repository or to ask your instructor.

Thanks in advance!

How to Contribute

If you are interested in becoming a contributor to this open source project, please open a new issue so that we can discuss the contribution or submit a PR detailing what is being done and why.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jonathan Ferragut

💻 📖

Hernán García

💻 📖