Hi Brad I have made a small "check it out" project using google endpoints. And yes, they are easy to make, but there are some less obvious details, which are very hard to get working: 1) There is virtually no instruction of how to use the javascript API (https://apis.google.com/js/client.js) for endpoints. 2) There are some strange bugs in the appengine, preventing old endpoints to be deleted and endpoints are often not updated when the code is changed (i am using java) 3) The security setup is also difficult to use. I had to use BOTH the email and the profile scope to get it working? 4) I could not make an endpoint persist embedded objects using the gapi ( https://apis.google.com/js/client.js) I have spend hours trying to figure out why? 5) performance is a bit erratic? 5) Why are the User.id on the server side, not the same at the ID you get from the token you get back from google, when using authorisation ( gapi.auth.getToken();) Otherwise it is a great system and if you could help me out with the above, I would be very happy Or if you could point me to somer other tutorials but the "birra" tutorial, which is the only one out there.
1, 4: See the public documentation for instructions on using the JS client: https://developers.google.com/appengine/docs/java/endpoints/consume_js.
2, 5: These are good questions for Stack Overflow.
3: You should be able to just use the email scope, but without more details I can't be more helpful. (Stack Overflow is a good place for this question as well.)
Hi Brad
ReplyDeleteI have made a small "check it out" project using google endpoints. And yes, they are easy to make, but there are some less obvious details, which are very hard to get working:
1) There is virtually no instruction of how to use the javascript API (https://apis.google.com/js/client.js) for endpoints.
2) There are some strange bugs in the appengine, preventing old endpoints to be deleted and endpoints are often not updated when the code is changed (i am using java)
3) The security setup is also difficult to use. I had to use BOTH the email and the profile scope to get it working?
4) I could not make an endpoint persist embedded objects using the gapi ( https://apis.google.com/js/client.js) I have spend hours trying to figure out why?
5) performance is a bit erratic?
5) Why are the User.id on the server side, not the same at the ID you get from the token you get back from google, when using authorisation ( gapi.auth.getToken();)
Otherwise it is a great system and if you could help me out with the above, I would be very happy Or if you could point me to somer other tutorials but the "birra" tutorial, which is the only one out there.
Hi Lars,
ReplyDelete1, 4: See the public documentation for instructions on using the JS client: https://developers.google.com/appengine/docs/java/endpoints/consume_js.
2, 5: These are good questions for Stack Overflow.
3: You should be able to just use the email scope, but without more details I can't be more helpful. (Stack Overflow is a good place for this question as well.)