google-signin

Android: Error calling GoogleApiClient.connect()

和自甴很熟 提交于 2019-12-11 10:25:07
问题 When i call method mGoogleApiClient.connect() the app crashes. the following code is copied from www.developers.google.com i want to implement Google Sign In functionality, but unable to do so. i also have edited the build.gradle file. in my Last app i could not add Leaderboards just because of this issue, and now again my next app needs Leaderboards, but this time i can't leave it. import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.api.GoogleApiClient

Authorize youtube data api request using google sign in api

别说谁变了你拦得住时间么 提交于 2019-12-11 07:57:02
问题 i am trying to authorize a youtube data request (scope) using google sing in api. Google Sign In works perferct inside my app and i am getting logged in. How do I use the result of the google sign in api to send a request to a youtube data api scope? My Sign In: GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestScopes(new Scope("https://www.googleapis.com/auth/youtube")) .build(); api = new GoogleApiClient.Builder(main.getApplicationContext

Google Assistant - Account linking with Google Sign-In

你离开我真会死。 提交于 2019-12-11 06:19:27
问题 I have an Express app which supports Google authentication and authorization via passport. I have begun integrating it with Google Assistant and things were going quite well but I am having trouble with the account linking as described at https://developers.google.com/actions/identity/google-sign-in#start_the_authentication_flow Using the method in the docs at https://codelabs.developers.google.com/codelabs/actions-2/#4 I was able to get user details but when I try to modify to support app

Use 2 different login methods: JWT token and Google sign-in in one app

╄→гoц情女王★ 提交于 2019-12-11 05:14:12
问题 I have an application that is on the client side: android app, and on the server side: flask based rest api, login with JWT token. For better security, I want to combine login with Google as well. The problem is: The naive solution, is on the client side: I need to "SPLIT" the login code for the 2 cases - That's not so bad, But later on for each request to the server - I need to check if I have jwt token, or google user data, and send the correct call. Then on the server side as well - I need

android - Google Sign In not working (no crashes or exceptions)

橙三吉。 提交于 2019-12-11 05:08:16
问题 I'm working on an app and I need it to have a Sign In activity. I have been following this (developers.google.com/identity/sign-in/android/sign-in) and this and for some reason, everything is working just fine, no crashes, no error messages but no sign in as well. But, every time I launch the activity I get these in the "Run" tab: W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000008/n/armeabi-v7a W/System: ClassLoader referenced unknown

Error with Google_sign_in plugin in flutter

萝らか妹 提交于 2019-12-11 04:58:45
问题 I've been trying to fix this for a while now but I can't solve it. When I use the google_sign_in plugin, I'm able to choose my account but it stops after that. But after clicking... Giving me this error(the same) when I click continue: E/flutter (28971): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) Things I've done: I've searched for hours the error, the ApiException: 10, in

Google sign in not working after publishing in play store with having two sha1 keys

百般思念 提交于 2019-12-11 04:51:40
问题 i have two build flavours. Each have debug and release build types. i having two googleservice.json for two build flavours. All are working fine except gmail login. In local gmail login works fine. But after uploading app to playstore, gmail login not works. i update two sha1 key for debug and release in firebase console.and get the latest googleservice.json file. But still facing issue on play store. And i am having this in my proguard -keep class com.google.android.gms.** { *; } -dontwarn

Getting a Voice Match error when trying to call Actions on Google SignIn helper

风流意气都作罢 提交于 2019-12-11 04:48:25
问题 What I'm trying to achieve is user authentication (account linking) before the default welcome intent is called. (I'm aware that in the design documents it is recommended to not require users to authenticate, but it is required for our action) We have an undeployed action that I have tested in the simulator. The conversation flow is The user is prompted to signin ie, new SignIn() They are prompted to create an new item The item is saved and the user receives a success/fail response and

Flutter: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

六月ゝ 毕业季﹏ 提交于 2019-12-11 04:06:20
问题 I have a Flutter app and I am trying to allow users to sign into their Gmail because I want to be able to list out their emails. When I press my LoginButton , I get prompted with a Gmail login, and I enter in my credentials, but then it goes back to the screen with the LoginButton and I am faced with the error: Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) What I have tried: Added google-services.json to /android/app and

Flutter iOS app needs passcode for Google Sign In

自闭症网瘾萝莉.ら 提交于 2019-12-11 03:59:02
问题 Using flutter code when I tries to login via Google Sign in on my iOS device, I get following error: Your administrator requires you to set a passcode on this device to access this account. Please set a passcode and try again. While on other apps it does not mandate to have passcode on iphone for logging using google 回答1: It seems that you need to change the password settings of your domain: Device Policy Alert requires I set a passcode for access account - how do I disable? You must be the