简体   繁体   中英

Authentication for a Rest Api on Google App Engine

I have an a Rest API on Google App Engine (Java) and I want to add an authentication. I will have an Angular.js and ios/ android clients. Users should be able to log in with email/password or social medias.

With OAuth can I have a email/password authentication? What are the other way to do that?

By default, you can add authentication for users with a Google Account:

Recently, during last Google I/O, Google announced that it will be possible to authenticate users on Google App Engine using Firebase Authentication. The interesting aspect is that Firebase Authentication "supports authentication using passwords, popular federated identity providers like Google, Facebook and Twitter, and more." while the solution proposed above is only for Google accounts.

More recently, Google has published on its GCP Blog the detailed explanantion on how to authenticate users on Google App Engine using Firebase, but ... for Python only, see https://cloudplatform.googleblog.com/2016/10/how-to-authenticate-users-on-Google-App-Engine-using-Firebase.html . We are currently waiting for the same OFFICIAL explanations for Java! Hoping it will be published soon.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM