ChristopherJamesN / katy-hiking-trails-react

A client side application built using React used to list maintained hiking trails in the Katy, Texas area.
MIT License
0 stars 0 forks source link

Add user authentication #1

Closed ChristopherJamesN closed 6 years ago

ChristopherJamesN commented 6 years ago

Add user authentication using jwt and requests to the Rails API.

ChristopherJamesN commented 6 years ago

Follow the same format as the react-redux-nba-news-feed for user authentication.

ChristopherJamesN commented 6 years ago

Once user authentication is in place, need a way for users to access and edit their favorite trails.

ChristopherJamesN commented 6 years ago

Getting a 401 error when trying to create a new account and 500 error when trying to sign in or sign up with an existing account.

ChristopherJamesN commented 6 years ago

Get a 404 when trying to log in with an username that does not exist, as I should.

ChristopherJamesN commented 6 years ago

has secure password does not play well with devise, need to find another way to add authenticate method to user model.

ChristopherJamesN commented 6 years ago

Added bycrypt to gemfile and has_secure_password is still not playing well with devise, may need to to write a custom authentication method.

ChristopherJamesN commented 6 years ago

Rails app works fine with authenticate method added, but react app still running into errors.

ChristopherJamesN commented 6 years ago

Closing since ios app has been moved to native project.