KimmestOfChis / wingman_finder

Backend Application for Wingman Finder
1 stars 0 forks source link

users log in and out #32

Closed robsdudeson closed 2 years ago

robsdudeson commented 3 years ago

closes #31

Summary

This adds the nuts and bolts for a simple API auth scheme. This leverages Users and Apps to create sessions that we can invalidate at anytime initially these tokens will live for a day, but we could change this later if we wanted. this does not deal with role based authorization, but this is foundational to that

TODO

KimmestOfChis commented 3 years ago

So far so good! Let me know when you want to integration test this bad boy. I can write some cypress scripts to go along with this PR