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
in the server-side is null.  You cannot recreate a valid User object.



On Fri, Jun 3, 2016 at 4:02 AM, 'Nick (Cloud Platform Support)' via Google
App Engine <google-appengine@googlegroups.com> wrote:

> 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
> <https://cloud.google.com/appengine/docs/java/endpoints/calling-from-android>"
> (linking "Calling Endpoints from an Android App" but there's also iOS
> <https://cloud.google.com/appengine/docs/java/endpoints/calling-from-ios>
> and JavaScript
> <https://cloud.google.com/appengine/docs/java/endpoints/calling-from-javascript>
> client documentation). If you want to authenticate users through any other
> system on your client-side, you can pass their auth info along with the
> request and use a Custom Authenticator (see these two Stack Overflow
> questions: [1]
> <http://stackoverflow.com/questions/25365858/google-cloud-endpoints-and-users-authentication/25390994>
> , [2]
> <http://stackoverflow.com/questions/28445840/how-can-i-pass-custom-information-from-an-app-engine-authenticator-to-the-endpoi/33656908#33656908>)
> to rebuild a User object on the server-side.
>
> I hope these documentation and links are helpful. Feel free to return to
> ask any questions you still have after reading!
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Thursday, June 2, 2016 at 8:52:55 AM UTC-4, Raunak Gupta wrote:
>>
>> I'm new to App Engine and Google's offering for developers. Creating
>> endpoints so far have been fairly straight forward. Having said that, I'm
>> kind of lost how to authenticate users (using username/password), and
>> passing those details in Endpoints. Googling yields multiple results
>> suggesting I should use Google Identity Toolkit, and upon opening Toolkit
>> docs, it suggests I should use Firebase. Half of the times the docs aren't
>> inline with the development console which is only adding to the confusion.
>> Anyone experienced here can point me to recent JAVA based tutorial would be
>> greatly appreciated.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/2014672a-d1ff-4b2d-a3e4-fc1b01852718%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/2014672a-d1ff-4b2d-a3e4-fc1b01852718%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijbzTfmm2NnpVHXs4xUsbqGB7SH7zV5q5BctJymfu6JePA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to