google-plus-signin

Laravel Socialite: Legacy People API has not been used in project

时光毁灭记忆、已成空白 提交于 2020-01-14 02:54:07
问题 I have used Laravel 5.4 with socialite 3.0 for social login on my web application. But nowadays I got an error Legacy People API has not been used in project xxx . Then I have made some changes in a core file of socialite package. /vendor/laravel/socialite/src/Two/GoogleProvider.php Line 61: Replace https://www.googleapis.com/plus/v1/people/me? by https://www.googleapis.com/oauth2/v3/userinfo? And update mapUserToObject function with below code: protected function mapUserToObject(array $user)

12501 error: Ionic what keystore is the app building with

戏子无情 提交于 2020-01-02 17:51:12
问题 I am using Ionic 2 with GooglePlus Authentication. Everything works perfectly for iOS . For Android I build my app as follows: ionic build android For the Android build, I need a SHA1 keystore for Google Authentication. I have a Macintosh HD/Users/myname/.android/debug.keystore , so according to these instructions, I generate a keystore using (default password ' android '): keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore The output looks correct. I use

Google sign in not working android?

烂漫一生 提交于 2020-01-01 10:05:44
问题 So an issue my project has encountered is that the sign in through google does not work consistently. Ie, it works for my friend and not me from my computer, even though it worked for me yesterday before wiping my phone (phone got corrupted). Our login code is the standard for google sign in, and the problem is that the result keeps returning false I think. the code: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.welcome_screen

Google sign in not working android?

 ̄綄美尐妖づ 提交于 2020-01-01 10:04:15
问题 So an issue my project has encountered is that the sign in through google does not work consistently. Ie, it works for my friend and not me from my computer, even though it worked for me yesterday before wiping my phone (phone got corrupted). Our login code is the standard for google sign in, and the problem is that the result keeps returning false I think. the code: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.welcome_screen

Google+ signin - handleSignInResult returns false after customizing signin button

有些话、适合烂在心里 提交于 2019-12-29 07:56:34
问题 I'm following the sample code given by Google to integrate Google plus with android. https://github.com/googlesamples/google-services/blob/master/android/signin/app/src/main/java/com/google/samples/quickstart/signin/SignInActivity.java That code sample worked perfectly fine until I added some changes as follows. GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestScopes(new Scope(Scopes.PLUS_LOGIN)) .requestEmail() .build(); mGoogleApiClient

Can't save IdentityProviders.GOOGLE credentials with SmartLock

烂漫一生 提交于 2019-12-13 16:16:34
问题 I'm logging my users into our app using Google+. The actual G+ signing in happens on the server though. I get back some user data such as email and name. I'm using this to store the users credentials as a google account. The issue arises when I try to save it. In the callback to save the creds in "Auth.CredentialsApi.save" it returns no resolution and nothing ends up happening. If I remove the Google IdentityProvider from the creds then it saves without a password. Does anyone know why a

Error 10 - ionic 3(Cordova) cordova-plugin-googleplus After install from Google Play Store

末鹿安然 提交于 2019-12-13 02:49:53
问题 I followed all the steps to publish apk on play store. But getting error 10 after installing from play store. But When I install released apk from my computer to android mobile it is working fine. Steps followed to create apk - Step 1: Created build release ionic Cordova project using below command - ionic cordova build android --prod --release After this i got unsigned apk("../../platforms/android/build/outputs/android-release-unsigned.apk"). Step 2: I signed the apk using java keytool

Google SignIn not working

旧巷老猫 提交于 2019-12-13 02:21:56
问题 I have an Android app for a customer, who wishes the users be able to log in via Google. So far, I have implemented the Google SignInButton, the GoogleSignInOptions, and the GoogleApiClient. However, when I try to log in with: googleApiClient.connect(GoogleApiClient.SIGN_IN_MODE_REQUIRED); the application force quits as soon as it is opened with following exception: E/AndroidRuntime: FATAL EXCEPTION: main Process: de.nwt.slottynative, PID: 24509 java.lang.RuntimeException: Unable to start

Prevent auto sign in with Google plus

孤街醉人 提交于 2019-12-13 01:55:28
问题 I am trying to implement Google+ sign in for web sites. My desired flow is: User lands on login page Clicks Google Sign In button I receive email and processing it on server side The problem is, whatever script I try, Google always invoking and UNWANTED auto sign in. I want it to be initiated only when user clicks the button and prevent auto triggering google events. 回答1: The 'auto sign in' thing you mention is how the Google+ Sign In method functions by default. If you want full control of

Google Sign-in button error in Android

自古美人都是妖i 提交于 2019-12-13 00:49:36
问题 I try to include Google sign-in button in my android app by following steps: 1) Including the button: <com.google.android.gms.common.SignInButton android:id="@+id/sign_in_button" android:layout_width="wrap_content" android:layout_height="wrap_content" /> 2) Editing Top-level build file classpath 'com.google.gms:google-services:1.5.0-beta2' 3) Editing App-level build file apply plugin: 'com.google.gms.google-services' Now I am getting error in button UI as Blockquote The following classes