google-login

Google Login gapi.auth2.init(): not resolving or rejecting promise

别等时光非礼了梦想. 提交于 2019-12-25 07:58:55
问题 I have some google login code I use to display a google login button as well as listen for changes in sign in. It works perfect the majority of the time, but I've had some users tell me it doesn't work and have to use our manual login. I can't seem to replicate the problem. We work with students and often only one student in a classroom will not be able to see the button... yet, they're all on the same type of chromebooks. I've added an AJAX call to send me an email for debugging if after 10

Sencha Touch 2: How can I add Google+ Login?

柔情痞子 提交于 2019-12-25 03:49:08
问题 I would like to add a Google+ Login to my Sencha Touch 2 webapplication, according to https://developers.google.com/+/web/signin/?hl=de#using_the_client-side_flow. I have added the google script into the app.json (defined as remote script) and it gets loaded. I created a Container with the html stuff (described by google): Ext.define('Bubbles.view.LoginView', { extend: 'Ext.Container', id: 'loginView', config: { fullscreen: true, layout: 'fit', html: '<span id=\"signinButton\">' + '<span

Swift: Go to other view controller after Google Sign In

守給你的承諾、 提交于 2019-12-24 20:34:21
问题 After users successfully signing in, I want the screen to show the tab controller view automatically. Now I finished the integrating Google Sign In part. But after signing in, the view return to the initial View Controller. My storyboard looks like this, the blue View inside the initial View Controller is the Google Sign In button. Below's my didSignInFor function: func sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) { if let error = error { print("\

In Azure B2C how to restrict user from signing up/in with same email through social media(gmail) and Local Account(Email)

风格不统一 提交于 2019-12-24 07:16:59
问题 I came across this issue in my app, that azure is letting user register themselves from email and social media (using registered email) both. Thus there are two users with same email Id. Can you guys help me out in this one? Thank you. 回答1: As of now in basic policies, it is not possible. But in advanced policies (IEF) you can make a trick by calling an API to check user email existence using Graph APIs and return success or exception. There is an account linking feature which is in the

Facebook and google login is not working on beta testing APK

家住魔仙堡 提交于 2019-12-24 02:15:15
问题 The Google and Facebook logins are working fine in Android Studio Tools, but they're not working on test version or beta testing, so please give me any clue to solve this problem. 回答1: I had fixed this issue after contacting google support. Below is the fix for this issue. Please follow the steps. To fix google login - Whenever you will create a debug or release apk, please make sure to update Package name and SHA1 fingerprint in your API key at "https://console.cloud.google.com/apis

Google signin: Permission denied to generate login hint for target domain (javascript web app)

こ雲淡風輕ζ 提交于 2019-12-23 18:48:10
问题 I'm using the Google signin Javascript API (that is, the gapi-signin-button ) on a webapp. The app is served by a gulp server, binding to 0.0.0.0 . The login process works when I develop locally, but when I run on a remote server and access the page via the public IP, I get the following signin error: Error: invalid_request Permission denied to generate login hint for target domain. I have both localhost:PORT and SERVER_IP:PORT in my Authorized JavaScript origins. Other SO answers have said I

What scope do I need to add for getting user email when using google+ sign in?

两盒软妹~` 提交于 2019-12-23 04:40:54
问题 I am trying to get a access token from the google plus api. I run the following piece of code: private class RetrieveTokenTask extends AsyncTask<String, Void, String> { @Override protected String doInBackground(String... params) { String accountName = params[0]; Log.e("accountName", accountName); String scopes = "oauth2:" + Scopes.PLUS_ME; // String token = null; try { token = GoogleAuthUtil.getToken(getApplicationContext(), accountName, scopes); } catch (IOException e) { Log.e("GOOGLE+", e

With Google App Engine, is it possible to customize boilerplate in default user authorization template?

坚强是说给别人听的谎言 提交于 2019-12-23 01:42:10
问题 I'm referring to the page at https://appengine.google.com/_ah/loginform that the user will be redirected to by the users.create_login_url method from the google.appengine.api module. This is for authentication using Google Accounts. I'd like to change references to the project name (which is different from my custom domain) to match my domain. The page currently says: The application project-name is requesting permission to access your Google Account. I'd prefer it said: The application

Google login does not show account picker for devices with single google accounts

痞子三分冷 提交于 2019-12-22 10:44:10
问题 I'm trying to implement google plus sign in for an android app. I followed the guide on the google developer page "https://developers.google.com/+/mobile/android/getting-started". My only problem is that when there's only one google account on the device, the account picker dialog does not show. Is there a way around this? 回答1: I used an AccountPicker as suggested by @acj. I start an AccountPicker intent Intent intent = AccountPicker.newChooseAccountIntent(null, null, new String[] { "com

How to login to google accounts using awesomium in C#.net?

十年热恋 提交于 2019-12-22 09:58:05
问题 I'm learning Awesomium and following is the code in which I'm trying to login to https://accounts.google.com. I'm successfully able to set the login and password field values in the page, but not able to submit the login form, neither does the click works. Can anyone help me how to login? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Awesomium.Core; namespace Awesom { class Program1 { public static void Main(String[]