Skip to content
Advertisement

Tag: authentication

Trying to pull stock quote info from TDAmeritrade with Google Script with API needing authentication

I’m using an API from TD Ameritrade to pull stock ticker information. The script needs authentication to pull real time data. The CURL command is as follows: curl -X GET –header “Authorization: ” –header “Authorization: Bearer ” “https://api.tdameritrade.com/v1/marketdata/AAPL/quotes?apikey=” I’m using a Google Script to read the data from the API, do some calculations, and then write the data to a

passport Unknown authentication strategy “local”, “facebook”, “google”

I’m building a register system where a user can login with Facebook, Google, or locally. Whenever I post via any login strategy I get uknown strategy error. I think I did connect all files all together. I did check every solution, on stackoverflow, but can’t find anything that could help aht the moment. My code: https://github.com/ExadelPraktika/Back-exabook/tree/backend_full Answer added require(‘../passport’); in

Advertisement