Crowdhound connects dog owners with local people that would love the opportunity to chill with a dog for an afternoon or a few days, without having the responsibility 24/7/365.
Change authenticateUser mutation to generate a random token instead of using Google's refresh token for authentication of future requests. The token is returned from the request and should be saved to the client's cookies.
Rename column of User from google_token to token
The following checks have been completed:
[x] Tested my new feature(s) as well as any feasible edge cases (if possible)
[x] Checked coverage/index.html - did not add any new code that's not covered by testing (if possible)
[x] Merged in the latest master to my branch with git pull origin master & resolved merge conflicts
[x] Ran rails db:migrate
[x] Ran the test suite - all tests are passing (or maybe skipped)
[x] Checked affected endpoints in Postman / GraphiQL
[x] Updated README for changes (new endpoints, new gems, etc)
Notes:
Includes a DB migration -- will need to run on your machine (as well as Heroku if CI isn't automatically doing it)
Changes proposed in this pull request:
authenticateUser
mutation to generate a random token instead of using Google's refresh token for authentication of future requests. The token is returned from the request and should be saved to the client's cookies.User
fromgoogle_token
totoken
The following checks have been completed:
coverage/index.html
- did not add any new code that's not covered by testing (if possible)git pull origin master
& resolved merge conflictsrails db:migrate
Notes: