google-login

When should I disconnect GoogleApiClient (Android)

跟風遠走 提交于 2019-12-21 20:29:09
问题 In my android app, I have 3 login options. Google+, Facebook, and my own login option. I've implemented all 3. I've implemented Google+ login using the steps outlined here. Server side access is enabled. I get the one time authorization code and pass it to my own api. Once I've received the authorization code, is there any reason to keep GoogleApiClient connected? I have a similar question for Facebook Session here. 回答1: There is no reason to keep connected to the GoogleApiClient unless you

Get Home/office address from google maps

夙愿已清 提交于 2019-12-21 12:43:05
问题 I have an map based android app and am providing functionality to login using gmail account. Now, Google maps on the device has saved home and office address of the user. Is it possible to get this data without user having to input it? 回答1: You can geocode the addresses with Google Geocoding API . Depending of what you want, you can get an XML or JSON response by calling http://maps.google.com/maps/api/geocode/json?address=ADRESS HERE Where all the spaces of the address must be replaced by +

python-social-auth not getting correct Google OAuth2 details

白昼怎懂夜的黑 提交于 2019-12-21 04:35:20
问题 I want to login a user using the python-social-auth functionality for Google Plus signin in Django. When logging in from my website, everything works fine and the correct details are added to the database. However, I want to authenticate from my Android application as well. The user logs in in the application, which then sends the access token to the django API, which handles the login process in the following code, adapted from the documentation: @csrf_exempt @serengeti_api_request @psa(

Gradle failed to resolve com.google.android.gms:play-services-auth:11.6.0 [duplicate]

岁酱吖の 提交于 2019-12-20 19:41:50
问题 This question already has answers here : Failed to resolve com.google.android.gms play-services-auth:11.4.0 (12 answers) Failed to resolve: com.android.support:appcompat-v7:26.0.0 (12 answers) Closed 2 years ago . I am trying to use google log in in my mobile app but I am getting following error after following google's tutorial. "failed to resolve: com.google.android.gms:play-services-auth:11.6.0" My gradle files : buildscript { repositories { jcenter() } dependencies { classpath 'com

Firebase google auth automatically selecting user. How to force it to select account

喜欢而已 提交于 2019-12-19 02:59:04
问题 If in any browser, when i am logged in with single google account and try to invoke 'sign in with google' option on firebase, it is automatically logging-in to firebase with the already logged in account. It gives me no option to login with a different account. This happens only if one account is logged in browser. Multiple accounts doesn't create this problem. So, it is any way I can force users to choose accounts everytime they click 'sign in with google' button? 回答1: This worked for me:

Google login uses same account everytime users login

本小妞迷上赌 提交于 2019-12-18 16:52:36
问题 I use OAuth to let users sign in to the android app via Google account. When the user taps the Google login button for the first time, it produces a dialog to choose the account. Again, when the user logs out and decides to login with different Google account, it doesn't prompt to choose the account, it logs in the account the user had chose the previous time ' @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.login);

How do you integrate the new Google Sign-In on a Xamarin.Android app?

隐身守侯 提交于 2019-12-18 05:00:13
问题 I am attempting to follow Google's instructions on how to add the new Google Sign-In (not the old Google+ Sign-In) to my Xamarin.Android app. For the life of me, I cannot find the correct Google Play Services NuGet package or Xamarin component that supports the new sign-in system. When I add the following code to the activity, I get "The type or namespace 'GoogleSignInOptions' could not be found. Are you missing an assembly reference?" build error. // Configure sign-in to request the user's

Google Sign-In for Websites and Angular 2 using Typescript

痞子三分冷 提交于 2019-12-17 10:26:46
问题 I'm building a site that has a pretty standard RESTful web service to handle persistence and complex business logic. The UI I'm building to consume this service is using Angular 2 with components written in TypeScript. Rather than build my own authentication system, I'm hoping to rely on Google Sign-In for Websites. The idea being that users will come to the site, sign in via the framework provided there and then send along the resulting ID tokens, which the server hosting the RESTful service

Google Sign Out iOS

让人想犯罪 __ 提交于 2019-12-14 00:52:16
问题 I was trying to implement social login (Google) in my new application. For that I followed this link: https://developers.google.com/identity/sign-in/ios/start-integrating and successfully able to add google login and fetched user basic information. But I got stuck in Sign Out Process. For logout I've written following line, But still users data doesn't remove. As when I tried to login again it pick last gmail id. [[GIDSignIn sharedInstance] signOut]; I tried to find out the solution for this.

Google plus signin “immediate_failed” error

て烟熏妆下的殇ゞ 提交于 2019-12-13 14:36:17
问题 I have implemented login with Google Plus in my website using Javascript SDK. when i click on button (Goolge Plus Signin) first time, it display Error "immediate_failed". but when i click second time on that button it works fine. "immediate:false or true" is not working? how can i solve this issue? 回答1: assuming you have implemented the client side flow described here: https://developers.google.com/+/web/signin/?hl=en#using_the_client-side_flow and it sounds that you are calling the signin