nchaulet / node-geocoder

nodejs geocoding library
http://nchaulet.github.io/node-geocoder/
MIT License
928 stars 214 forks source link

HERE not working – changes in REST API authentication #286

Closed jvolker closed 4 years ago

jvolker commented 4 years ago

HERE REST API is no longer generating app codes for authentication. It now only generates API-keys. node-geocoder, on the other hand, throws an error ("You must specify appId and appCode to use Here Geocoder") if appId and appCode are not specified for HERE and apiKey is used instead.

Previously generatedapp_id and app_code for authentification still seem to work. Therefore, node-geocoder can't be used with HERE if you didn't generate the credentials in the past.

https://developer.here.com/documentation/authentication/dev_guide/topics/api-key-credentials.html

dotupNET commented 4 years ago

This is a working version: https://github.com/nchaulet/node-geocoder/pull/291

nchaulet commented 4 years ago

Resolved by #302