nnsier / bolt-struct

0 stars 0 forks source link

Authorize login #21

Open nnsier opened 5 years ago

nnsier commented 5 years ago

Send post request. Signup Check if username exists if so, have error

Login username password post request redirect after logging in.

nnsier commented 5 years ago

This is obviously more difficult than I remembered because I need to have middleware that authenticates each request from the front end. Consider using passport.js because I want to have logout functionality and jwt doesn't natively allow that.

nnsier commented 5 years ago

http://www.passportjs.org/docs/google/ eh?