Skip to content

ihollander/rails-react-auth-lecture

Repository files navigation

API Auth for Single Page Applications

Session-Based Auth vs Token-Based Auth

In the video below, I discuss two approaches to auth working with separate frontend and backend applications, and some pros and cons of each approach. After watching this, you can decide to go to the Session-Based Auth section or Token-Based Auth section in this readme based on what you'd like to implement in your application.

Now it's choose-your-own-adventure time!

Session-Based Auth

Completed code for this section is in session-auth-client and session-auth-server. You'll also find more notes in the SESSION.md readme.

Here are all the individual video links:

Token-Based Auth

Completed code for this section is in token-auth-client and token-auth-server. You'll also find more notes in the TOKEN.md readme. You can find also find a README and some server code from a lab on JWT Auth here: https://github.com/learn-co-curriculum/jwt-auth-rails

Here are all the individual video links:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published