-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
A few months ago, the library was working fine to retrieve contacts. Now when trying, I have the following error:
OPTIONS https://www.google.com/m8/feeds/contacts/default/full?access_token=ya29.-QF…qvtibhiQmYUwDJl_...&alt=json&max-results=3000
XMLHttpRequest cannot load https://www.google.com/m8/feeds/contacts/default/full?access_token=ya29.-QF…qvtibhiQmYUwDJl_T...&alt=json&max-results=3000. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:5000' is therefore not allowed access. The response had HTTP status code 405.
google-auth.min.js:1 error retrieving Google contacts
Note: by using jsonp, this erreur doesn't appear. Changing line 221 in google-auth.js like this seems to fix the issue:
$http.jsonp(url + '&callback=JSON_CALLBACK')
Metadata
Metadata
Assignees
Labels
No labels