google-signin

iOS: Using both Facebook and Google, Google Plus sign in

≡放荡痞女 提交于 2020-01-22 19:49:05
问题 Good morning, I'm trying to implement the Facebook login (which is working fine) and also the google plus login in the same view. I'm following the guides from the official site (Google) but there is an issue between the Facebook button and the google plus button: Facebook tells me to put the following code: -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ return [FBAppCall handleOpenURL:url

Google Play Games, Firebase and the new Google Sign-in

℡╲_俬逩灬. 提交于 2020-01-19 14:21:46
问题 My game is using Google Play Games and Firebase (for Rankings System, because unfortunately one cannot reduce the score in Google Leaderboards). In the past I used the deprecated way to sign-in to Firebase via Plus.AccountApi.getAccountName and friends... So I tried to convert to the new Google Sign-in, but apparently it cannot be used in conjuction with Google Play Games: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API My whole goal was/is to get rid of Google+ dependency (as Google

Google Play Games, Firebase and the new Google Sign-in

自闭症网瘾萝莉.ら 提交于 2020-01-19 14:20:49
问题 My game is using Google Play Games and Firebase (for Rankings System, because unfortunately one cannot reduce the score in Google Leaderboards). In the past I used the deprecated way to sign-in to Firebase via Plus.AccountApi.getAccountName and friends... So I tried to convert to the new Google Sign-in, but apparently it cannot be used in conjuction with Google Play Games: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API My whole goal was/is to get rid of Google+ dependency (as Google

Google Play Games, Firebase and the new Google Sign-in

删除回忆录丶 提交于 2020-01-19 14:20:02
问题 My game is using Google Play Games and Firebase (for Rankings System, because unfortunately one cannot reduce the score in Google Leaderboards). In the past I used the deprecated way to sign-in to Firebase via Plus.AccountApi.getAccountName and friends... So I tried to convert to the new Google Sign-in, but apparently it cannot be used in conjuction with Google Play Games: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API My whole goal was/is to get rid of Google+ dependency (as Google

Google API throwing error when verifying token

时间秒杀一切 提交于 2020-01-15 09:52:22
问题 I've been trying to use the Google-API for Google Sign-In, but when I do // $token is set to a correct value beforehand require_once 'inc/google-api/vendor/autoload.php'; $client = new Google_Client(['client_id' => '280452639491-s53psco36kn5cm3nitma4gpqsq9ik3ao.apps.googleusercontent.com']); $payload = $client->verifyIdToken($token); as instructed by google, this error pops up: Fatal error: Uncaught exception 'RuntimeException' with message 'Guzzle requires cURL, the allow_url_fopen ini

iOS Google Silent Sign In provides a (valid) token with missing profile info

感情迁移 提交于 2020-01-14 11:28:23
问题 I've integrated Google SignIn SDK (v4.0.1) to my iOS app. The normal authentication process is working fine via: GIDSignIn.sharedInstance().signIn() The retrieved idToken is valid and includes both email and the user's basic info: given_name family_name picture Google provide this URL for reviewing token data: https://www.googleapis.com/oauth2/v3/tokeninfo?id_token= Problem is, after relaunching the app, I perform silent login on didFinishLaunchingWithOptions like so: if GIDSignIn

iOS Google Silent Sign In provides a (valid) token with missing profile info

♀尐吖头ヾ 提交于 2020-01-14 11:28:10
问题 I've integrated Google SignIn SDK (v4.0.1) to my iOS app. The normal authentication process is working fine via: GIDSignIn.sharedInstance().signIn() The retrieved idToken is valid and includes both email and the user's basic info: given_name family_name picture Google provide this URL for reviewing token data: https://www.googleapis.com/oauth2/v3/tokeninfo?id_token= Problem is, after relaunching the app, I perform silent login on didFinishLaunchingWithOptions like so: if GIDSignIn

Google sign-in showing incorrect project name - iOS

拥有回忆 提交于 2020-01-14 09:09:08
问题 I have been integrating Google sign-in for syncing the calendar events using Google Calendar API. While trying to sign in, I am getting this. As you can see the name of the project/app is displayed as "project-xxxxxxxxx" rather than the project name itself. How can I display the original project name here? I have already tried How do I set the project name in the Google iOS Sign-In screen? , but of no use! 回答1: Atlast I found it! I am also using Firebase for database. So when I checked its

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)

Can I use the passport-google callback to authenticate android/ios users?

感情迁移 提交于 2020-01-13 16:30:34
问题 I have a node.js server which authenticates using google-passport-oauth2. My server-side code looks like that from the documentation: app.get('/auth/google', passport.authenticate('google', { scope: [ 'https://www.googleapis.com/auth/plus.login', , 'https://www.googleapis.com/auth/plus.profile.emails.read' ] } )); app.get( '/auth/google/callback', passport.authenticate( 'google', { successRedirect: '/auth/google/success', failureRedirect: '/auth/google/failure' })); I figure that /auth/google