I am a newbie to Firebase authentication, please pardon my ignorance.
I am thinking of the pros and cons of adding different types of authentications to my app, instead of adding only one (Google).
Adding all 3 (Google, Facebook and Email) would be more considerate of the user and their email preferences. That's the only reason I can think of, that I would add all 3. Are there any other reasons, if all I need is a user Id, and a way to send the user emails?
What would be the reason to add Facebook if anyone who has an android app has a google account?
And why would I add email authentication? This might discourage the user to enter an email if they have to type it.
I hope this question does not get closed. I am not looking for opinions. I am looking for facts only.
If you are really looking for facts, then i'd suggest Google authentication via Email Auth. But why?
Like you said;
What would be the reason to add Facebook if anyone who has an android
app has a google account?
I've personally seen some users don't even care to sign in on their Google account. Meanwhile, there are users who's really working with Google Play Store and they care!
So, adding Google authentication via Email Auth will be a good choice for those who's already signed in and they can logged in very quickly and simply by clicking on Google Sign in Button and also, Email Auth for those who's not signed in by Google and love to give the app a shot by their Email.
Adding FaceBook or other Authorization method will be a good choice to use on IOS. But why? Because in IOS there is an Apple Id which you can't use it for signing in on applications like Google. Not sure, i'm not an IOS developer but i don't think Apple would allow such a thing so, those two will be enough for users on Android Platform because Google made it easier to use one account which can be logged in on applications by a Button.
Also, nowadays, the best option to develop application or in whatever in our life, is to make something which makes human work quick & easily like Kotlin or this Signed in Button which those really are a life and time saver. :)
Related
We currently have an Alexa app that lets users ask for details about upcoming events, now the company wants to implement the same thing for Google's assistant. It seems like this is supported through "Actions On Google", which is very similar to Alexa.
One thing Alexa allowed us to do that I cant figure out with Google is setup a login screen. When a user first accessed the app via voice command, it would take them to an authentication page. We used this to tie an Amazon user to our internal records so that we could identify their specific information when they made a request. It was also used for authentication and authorization.
I dont see how to do that with Google. I assume that you can, but I havent been able to find it. Is there a way to set up a login screen so that when someone says "Hey (Agent), tell me about my day tomorrow", I can confirm who the person is to look up their information?
Yup, you're looking for Account Linking.
The term comes from linking the account they log into with your service to the account that Google uses to track them. You'll need to implement a basic OAuth server, including the page where they log into your service when they're directed there from the Assistant, and a way to issue authentication tokens to the Assistant. When requests come in from a user with a linked account, you'll get the tokens from the user, and you can use this to identify who the request came from.
It might be a duplicated question, but I can't find the answer anywhere (or I can't seem to understand the documentation)...
I am still in the development stage of my app, but I want to let other people use test it (like designers and friends).
To use the Facebook SSO for debugging and developing I entered my key hash in the Facebook app management console, but how do I let every user use my app without entering their key hashes?
Do I need to release the app the the Play Store, or is there another way?
Thanks!
In my app I want to have a link or button that can use stored credentials to login to social media sites - say facebook. But, since I plan on having a multiple links/buttons to different sites that may use different login info, I cannot force users to login to my app using any of the social media credentials.
Please forget the storing of credentials for now - that is a different issue altogether.
My question is Can I send the user's info to Facebook to allow them to login without having to take them to the login screen? If so, where to best find the information to do that?
Sorry if this is a noob question, but I am a noob to app dev and still trying to get my direction. Any sites or links with information would be appreciated.
sorry for the answer but from my experience you need to go through Facebook API to log in an android application using facebook,same for other social network. No clue what you wanted to do use a HTTP POST with the credential ?
There is a serious security issue with what you're trying to do, because it's you're application that handles the social network credential and so you would need to encrypt them store them and so on...
So if you want to give a try to Facebook Android API it's here : https://developers.facebook.com/docs/android/getting-started/
Dealing with the Facebook API is too much easy. You will follow some steps to import it into your project. Register your App on facebook developer site. Put the facebook button into your layout.
When the user clicks on the button the API will handle all the subsequent steps starting from taking the user username and password and will reply to you with a temporary accessToken that will be valid for two months. This is the only communication way with Facebook API, if you want to give the Facebook API any info with any other way. I am sorry to tell you you will not be able to do that.
It might sound silly but i went through a lot of code examples for Open ID authentication of android application. This one says
https://sites.google.com/site/oauthgoog/oauth-practices/mobile-apps-for-complex-login-systems/samplecode
that you have to make a webview and from webbrowser get the token and all but what i want is really simple , given options for google, facebook and twitter, I want user to select one and authenticate without any browser or so. Is that possible?
This one also i tried but it apparently seems to support only google accounts but i want all three
http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app
Any help ?
OpenID technology is based on browser confirmation, so you can't identify the end-user without it. Take a look at this link: http://lists.openid.net/pipermail/openid-code/2011-January/000190.html
Use case:
User launches app
The user enters google password
The app lets the user to use the app if the google password entered was correct.
I don't want to provide yet an other password registering option to my users. I don't want to know my users' passwords either. It would be great if I could use the Google login(or other common login, like Facebook, etc...), just like it is possible to provide a Google login with OpenID for webapps.
Additionally: Is it possible on iOS?
Any ideas?
Please see Google Open ID for the same.