I want to use Google as OAuth provider for my web site. So I created a new project in Google Developers Console. There under "Consent screen" I wanted to set the email address my users can see when logging in to my company's non-Gmail address.
However, since this is a drop-down box I can only choose from one of the associated accounts, set in the project's permissions. My problem is that I need to set an email address that does not belong to Google, nor do I have a Google Apps account.
So my question is: Can I set a non-Gmail email address in a Google project, even if that domain is not in Google Apps?
You will have to register an account at google developer with your non-gmail address first. And then go to Permissions in the Google Developers Console, add a Member with the non-gmail account as owner. After that you will be able to select the non-gmail email address in Consent screen.
Related
I experience difficulties in login into my google scholar account. It always said ERR_TOO_MANY_REDIRECTS and I can't access my account.
I have tried to access the Google Scholar website using Incognito mode, but still no good. I have also tried to clear all my cookies but still get the same error message.
How to solve this problem?
Thank you.
FYI: I am using Gsuite.
Activate your institution's Google Assistant in G Suite:
Dashboard, Apps -> Additional Google Services -> Google Assistant
If this happens because you used a mail tied to an institution that changed its privacy policy regarding Google and disabled the access to the Google Assistant, there is still a solution: create a new google account, using a new primary email address on which you have the full privileges, but verify your google scholar email with your institution email. This will trigger a duplicate account verification and you will be able to choose what google scholar profile to keep.
I use firebase authentication for my web app with three providers: email-password, google, or facebook. I have enabled the option "One account per email address".
When a user signs up using email-password (with a gmail address), then later uses google sign-in, I expect to receive an exception "auth/account-exists-with-different-credential", but I do not. His providerId is changed to google.com and he cannot use his password anymore (throws "auth/wrong-password").
Is this normal behaviour?
Firebase Authentication has a concept of a preferred provider for certain email addresses. The most common one is that google.com is the preferred provider for #gmail.com addresses, but I think they also exist for Facebook and Microsoft accounts.
If an existing account later signs up again from a preferred provider, that provider overwrites the existing user account. There is no way to change this behavior (that I know of).
Also see:
Github issue Facebook provider overwritten by Google provider
Mailing list Firebase Social Authentication Issue with fb and gmail flow
Authentication using Facebook at first and then Google causes an error in Firebase for Android
This is how I'm solving it:
https://firebase.google.com/docs/auth/android/account-linking
Just link the "accounts".
Update 2023:
You can now choose if you want to allow 'User account linking'. For example, if you don't allow multiple accounts with the same email address, a user cannot create a new account that signs in using a Google Account with the email address ex#gmail.com if there already is an account that signs in using the email address ex#gmail.com and a password.
If you do allow multiple accounts with the same email address, your app's sign-in flow cannot rely on an email address to identify a user account.
You can find this under settings within Firebase Authentication.
There are some caveats to using this feature, please read about it here
I had a Google account based on not-GMail-account. I had another email company's email as a login to my Google Account (myemailhere#ukr.net). And I used this Google account to login the dialogflow.cloud.google.com.
Today Google suggested me to create a #gmail.com account and attcach it to my myemailhere#ukr.net Google Account. I have confirmed and created the myemailhere#gmail.com.
Using both of this logins (myemailhere#gmail.com and myemailhere#ukr.net) I am still able to login my cloud.google.com Profile. But when I try to login the Dialogflow Profile (dialogflow.cloud.google.com) - I see the eternal loading animation (or a totally blank page). There is no errors about password or something like this. Just login process after I submit the password and then white page. This behavior I see on all my devices, while I trying to login with myemailhere#gmail.com or myemailhere#ukr.net
And I see some 400 errors in web console (if it matters).
Could you please help me to fix this and get access to DialogFlow?
Screen that I see after the login and password entering
Do you have the project owner role for the mentioned username that is registered on your project in the GCP console (not Dalogflow Console)? Here is a list of roles related to Dialogflow that grant access to its Console.
Note that some of these roles give full access or edit access while other roles have permissions that simply gives view access to the Dialogflow Console.
If you are missing any of these then simply assign on your GCP project's console.
Assigning roles as described above did not work for me. Solution was to delete gmail email service from the account.
Instructions here
If you would like to use gmail, do NOT add gmail to your existing google account. You should instead create a seperate google account and use gmail from this seperate account
I am developing an app using VB.Net for accessing my GMail accounts. I was able to follow the steps given at .Net Quickstart and was able to able access one of my accounts. So whenever I run my app, it accesses my first gmail account automatically, which is fine. Now I would like to access my other gmail account using the same app. How to change the gmail account that is automatically accessed by my desktop app?
This is similar to this question, but I am not able to understand the answer provided there
Thanks in advance for your answers
Before using your app, you need to log out of the default gmail account (i.e., first gmail account in your case). So I think you need to log out from that first gmail account, then log in with the second gmail account and try to sign in from your app. Hope this helps!
Finally I found out where the authorization information is stored. It is stored in Environment.SpecialFolder.ApplicationData folder. A folder named Google.Apis.Auth is created under this folder and a new file with the authorization information is created under it (in my case it is C:\Users\myWindowsUserName\AppData\Roaming\Google.Apis.Auth). I deleted the file which was there, which had the token for my first gmail ID. When I ran my app again, it asked for user login and consent once again, at which point I provided details of my second gmail account. This pearl is available here
I am trying to add testers for Google Play Services.
However, whenever I use any of my gmail accounts, e.g. fbloggs#googlemail.com / fbloggs#gmail.com, it always returns this message :
The following email addresses could not be added because they are not Google accounts or have not enabled Google+: fbloggs#googlemail.com
I definitely have enabled Google+ because when I go to plus.google.com with this account, I can see Google+ content.
What else do I need to do?