google-signin

Google Sign-In with Backend Verification Flow Clarification

余生颓废 提交于 2019-12-20 12:27:29
问题 I've spent hours trawling through various tutorials and articles and am finally giving in to asking. I want to enforce the use of Google Sign-In authentication for all users of my Angular 7 application. However, once Google authentication is complete, I want to first check that the user exists in my back-end DB (PostgreSQL). If they do, then I want to issue a JWT for two purposes: Ensure that future calls to my Spring Boot REST services are only fulfilled for authorized users. Protect my

Is the Google Strategy in Passport.js deprecated with the end of Google+

时间秒杀一切 提交于 2019-12-20 10:00:30
问题 I use Passport.js and passport-google-oauth20 in my nodejs aplication for authenticating with a "Google Strategy". I just received an email from Google indicating that I use "plus.people.get" from the Google+ API and that it will be deprecated. Should I change something? I do not use directly this API call but maybe Passport does? 回答1: Yes the Google OAuth strategy for Passport currently uses the Google+ API endpoints for retrieving the user's profile information. If you disable the Google+

Android : Google Sign In GoogleApiClient.connect()

南笙酒味 提交于 2019-12-20 07:26:41
问题 the following code is copied from www.developers.google.com i want to implement Google Sign In functionality, but unable to do so. when i click on SignIn Button it asks for permission and does some searching then Nothing happens, if i call GoogleApiClient.isConnected() it returns false. i have imported BaseGameUtils and also added line: compile project(':BaseGameUtils') app_id is generated using sha1 through: keytool -exportcert -alias androiddebugkey -keystore C:\Users\usman\.android\debug

Google Apps Marketplace - Adding scopes via Incremental authorisation

荒凉一梦 提交于 2019-12-20 06:38:25
问题 We have an existing web app which uses Google's OAuth 2.0 APIs for Admin Directory, Drive, etc for administrative tasks like backup and audit. Currently we let our customers install backup and audit independently as 'modules' and each have separate client_id s and separate OAuth scopes (i.e. Admin directory for one, Drive for another). We want to bring our app to the Google Apps Marketplace, and take advantage of Google Sign In (OpenID Connect), use service accounts with domain-wide

confusing “Upload failed” message in Google Play Console

你离开我真会死。 提交于 2019-12-20 02:55:03
问题 I would like to add a new App to Google Play. I have already some apps signed and published to google play. All with the same key. Now with the new one I get the message : Upload failed You uploaded an APK that is signed with a key that is also used to sign APKs that are delivered to users. Because you are enrolled in App Signing, you should sign your APK with a new key before you upload it. In the console it looks like the following : I am not sure if it has something to do with "Google Play

Status code 12501 authenticating with google sign-in

五迷三道 提交于 2019-12-19 21:17:33
问题 I am using these below lines of code for G+ sign-in android integration. In app build.gradle : compile 'com.google.android.gms:play-services-auth:8.4.0' compile 'com.google.android.gms:play-services-plus:8.4.0' In MainActivity : GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestEmail() .requestIdToken("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.com") .requestProfile() .build(); AppCompatActivity appCompatActivity = (AppCompatActivity)

Android - GoogleSignInResult always failing

帅比萌擦擦* 提交于 2019-12-19 17:39:23
问题 I have followed the tutorial here: https://developers.google.com/identity/sign-in/android/start-integrating to integrate Google sign in into my app. However, the GoogleSignInResult.isSuccess() is always false. GoogleSignInStatusCodes.getStatusCodeString(googleSignInResult.getStatus().getStatusCode()) shows INTERNAL_ERROR . The docs here say "retrying should solve the problem", but it doesn't. Any ideas on what's wrong? Similar question here, but I have added the json file. 回答1: The problem

Not fetch Google user when handle sign in with another Google app using GIDSignIn

落花浮王杯 提交于 2019-12-19 16:19:19
问题 I'm using Google Sign-In for iOS and when using simulator it's working fine because no google app is installed and user is fetch, but when using my iPhone 6 device open youtube (with some registered account inside them) for handle sign in. After, when come back on the app code don't enter on this function : -(void)signIn:(GIDSignIn *) signIn didSignInForUser:(GIDGoogleUser *) user withError:(NSError *) error Anyone can help me i can't use another function for login i must call [[GIDSignIn

Google SIgn-In for android

[亡魂溺海] 提交于 2019-12-19 10:56:22
问题 I tried the google developer documentation and tried sign-in for my app. The code is copied from the git with added codes from the documentation. and defined in LoginActivity as Public class LoginActivity extends AppCompatActivity implements GoogleApiClient.OnConnectionFailedListener, View.OnClickListener { private static final String TAG = "* * SignIn * *"; private static final int RC_SIGN_IN = 9001; private GoogleApiClient mGoogleApiClient; private ProgressDialog mProgressDialog; Bundle

AuthenticationProperties.RedirectUri is not passed to Google in Challenge()

感情迁移 提交于 2019-12-19 10:23:38
问题 Within my web application I have registered Google as a single sign-on provider: app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions { ClientId = "8765.......apps.googleusercontent.com", ClientSecret = "Secret" }) My app doesn't allow users to sign-up/register (instead their accounts are created by an administrator, but they can later link their account up with Google). In my "Sign in with Google" controller, I am trying to issue a Challenge() to redirect to Google. This might