Re: [google-appengine] Re: Endpoint User Authentication

2016-06-09 Thread 'Nick (Cloud Platform Support)' via Google App Engine
It appears the user was using the wrong code to get a User object. In Java Endpoints, the User object is passed as a parameter to the @ApiMethod -annotated method . Could you

Re: [google-appengine] Re: Endpoint User Authentication

2016-06-08 Thread Rajesh Gupta
Please see http://stackoverflow.com/questions/16288236/access-userservice-from-google-cloud-endpoint Create a simple endpoints app and provide login with Google Acccounts After the user logged in, then go to a page that use Javascript gapi to make a authenticated endpoint call. The User object on

Re: [google-appengine] Re: Endpoint User Authentication

2016-06-08 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey Rajesh, Could you link some of those questions you've seen this on? I'm not sure I'm aware of any such limitation, and as far as I know, it's easiest to authenticate with Google Accounts, as opposed to other services, where you'd have to write (still not very complex) a bit of code for

Re: [google-appengine] Re: Endpoint User Authentication

2016-06-08 Thread Rajesh Gupta
I have seen some posts on the Stack Overflow that, Endpoints will not work with Google Accounts Authentication. I have also tried and it does not work. This means, if you are using UserServiceFactory for authentication, and then make endpoints call through a javascript client , then a User object

[google-appengine] Re: Endpoint User Authentication

2016-06-02 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey Raunak, The documentation on cloud.google.com is the best place to go, and Firebase is definitely not necessary. If you want to work with the default authentication options you can read the sections under "Calling Cloud Endpoints from Clients