First I build an AppEngine with java, that uses the Google Sign-In library:
https://cloud.google.com/appengine/docs/standard/java/users/
But now we want to also have an android app and switch from Google Sign-In to Firebase (because it integrates way better with android).
Unfortunately, I found no java sdk for firebase that would replace the Google Sign-In probably.
What is the best way, to add firebase authentication to a java AppEngine application?
Java has REST capabilities. Use Firebase Auth REST API.
Related
I am going to write a java backend application that once a day should download data using google ads api.
I did something similar for google search console and I was using a service account in order to authenticate. I would like to use the same mechanism but I don't know how to link the service account to the google ads account.
I found this link but I don't have clear how to:
Request the domain administrator to delegate domain-wide authority to
your service account.
Can someone explain (it would be great with some code example) how to authenticate and use google ads api from a backend java application? Which is the easiest authentication mechanism to setup?
Thanks a lot
I create test scenarios for the app that has google OAuth login integrated with AWS Cognito. To not get a captcha from google every time that I use web login, I want to use a program workaround using the AWS and Google SDK. But I understand how I can use AWS SDK separately and Google SDK separately.
But how I can use both?
How I can get user access and refresh tokens using AWS-java-SDK and google-java-SDK?
Currently I have an android app that uses the Firebase Auth for user Authentication. I would like to move the authentication part to the Admin Sdk server, such that The android app makes an http request to the server and the server does the authentication. Unfortunately the the Admin SDK for Java does not have the signInWithEmailAndPassword method. Is there a way to go about this or do I have to include the android sdk on the server also?
That's not a supported situation with Firebase Authentication. The client app must authenticate itself using the client SDK so that it can manage the ID token that lets the other SDKs work with respect to the security rules defined for those products (Realtime Database, Firestore, Storage).
You could call the Authentication APIs directly from the client, but it's far better to just let the client SDK do all that work for you.
I have an android app which is having a registration page. In that I want to integrate with Gmail and Facebook separately .So that user dont have to register themselves with new credentials .They can use Gmail or Facebook login id and password to login themselves.
As I am new to Android .kindly give some solution Step wise .Thanks in advance
Here is the very easy way to integrate facebook SDKs with android code.
Official facebook integration document
Easy facebook integration.
How to integrate Facebook in my android application?
I think you want to like a Single SignOn for Facebook you have to use Facebook android sdk that is available at facebook developer site for android for Google Account authentication you should follow this
I am working with Android app.
User authentication in app with three way.
First is simple authentication done with query.
Second with Facebook. It also done.
I am working on Google plus authentication. but I am not able find the proper document as provide in facebook app.
Can any one guide me for google plus authentication?
You might want to take a look at "Google Play Services" in the Android SDK (released on 09/26).
Google Play services is a platform delivered by the Google Play Store
that offers integration with Google products, such as Google+ into
Android apps. The Google Play services framework consists of a
services component that runs on the device and a thin client library
that you package with your app.
The following components are included in Google Play services v1 and corresponding client APIs are included in the client library:
OAuth 2.0 authentication
Google+ sign-in
Google +1 button
Here's the link to it on on Googles Developer site:
https://developers.google.com/android/google-play-services/index
To add onto what chrkad suggested, there are also the Google+ mobile APIs:
https://developers.google.com/+/mobile/
and for Android, specifically:
https://developers.google.com/+/mobile/android/
These services will enable you to get the plus.me scope for a given account which you could then use for authentication and user credentials. Using a conventional OAUTH2 flow, you could do this now, it will be easier once the APIs are released.