[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot sync Google contacts
Author Message
watergate Offline
Junior Member
**

Posts: 4
Joined: Jul 2020
Reputation: 0
Post: #21
RE: Cannot sync Google contacts
(07-12-2020 06:32 PM)Yisroel_MongoTEL Wrote:  I'm attaching the guide that I got from Yealink Support

Thank you, Yisroel_MongoTEL. I appreciate it.

(07-07-2020 05:03 PM)CharlieX Wrote:  Would be useful if you could provide the details for this. I've created OAuth credentials and added them to the config but I still can't sync.

In case you have not figured it out, or for anyone in that position, here are the steps after successfully creating the credentials:

1. While you are still in Google API Console, in the main menu (left-hand side column) you click "Library"

https://console.developers.google.com/apis/library

2. Use the search field and look for "Contacts API" and click on it.

3. When in the Contacts API page, you click "ENABLE".
(This post was last modified: 07-13-2020 08:31 AM by watergate.)
07-13-2020 08:05 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CharlieX Offline
Junior Member
**

Posts: 7
Joined: Sep 2019
Reputation: 2
Post: #22
RE: Cannot sync Google contacts
(07-07-2020 05:03 PM)CharlieX Wrote:  Would be useful if you could provide the details for this. I've created OAuth credentials and added them to the config but I still can't sync.

In case you have not figured it out, or for anyone in that position, here are the steps after successfully creating the credentials:

1. While you are still in Google API Console, in the main menu (left-hand side column) you click "Library"

https://console.developers.google.com/apis/library

2. Use the search field and look for "Contacts API" and click on it.

3. When in the Contacts API page, you click "ENABLE".
[/quote]

How have you configured the consent? This is missing from the docs provided by Yealink and without it you can't even create the credentials. Even with them created, I'm still having problems because the project isn't verified.
07-22-2020 12:26 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
watergate Offline
Junior Member
**

Posts: 4
Joined: Jul 2020
Reputation: 0
Post: #23
RE: Cannot sync Google contacts
(07-22-2020 12:26 PM)CharlieX Wrote:  How have you configured the consent? This is missing from the docs provided by Yealink and without it you can't even create the credentials. Even with them created, I'm still having problems because the project isn't verified.

The credentials are separate from the consent.

You can create whatever credentials you want. You don't need to interface with the actual device to create the credentials.

Then, you need to import the credentials to the Yealink device manually i.e. hard-code them in the exported configuration XML file and then import it to the device via the web interface. Then, you click

Directory > Google Contacts > "Sign In"

at the web interface and you go through the related consent process without a hitch. Google Contacts API is happy to let you in because the device carries the credentials you created for that same API.

Hope this helps.
07-22-2020 12:51 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CharlieX Offline
Junior Member
**

Posts: 7
Joined: Sep 2019
Reputation: 2
Post: #24
RE: Cannot sync Google contacts
(07-22-2020 12:51 PM)watergate Wrote:  The credentials are separate from the consent.

You can create whatever credentials you want. You don't need to interface with the actual device to create the credentials.

Then, you need to import the credentials to the Yealink device manually i.e. hard-code them in the exported configuration XML file and then import it to the device via the web interface. Then, you click

Directory > Google Contacts > "Sign In"

at the web interface and you go through the related consent process without a hitch. Google Contacts API is happy to let you in because the device carries the credentials you created for that same API.

Hope this helps.
Google will not let me create any credentials unless I sort out the consent stuff. I have already tried credentials from another "project" but this didn't work because that project hasn't been verified.


Attached File(s) Thumbnail(s)
   
07-24-2020 09:24 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
watergate Offline
Junior Member
**

Posts: 4
Joined: Jul 2020
Reputation: 0
Post: #25
RE: Cannot sync Google contacts
(07-24-2020 09:24 AM)CharlieX Wrote:  Google will not let me create any credentials unless I sort out the consent stuff. I have already tried credentials from another "project" but this didn't work because that project hasn't been verified.

I see what you mean. Please try this:

While you are at the credentials page - the one from your screen shot - the left hand side menu reads "OAuth consent screen" right below the "Credentials" menu option. You go there and, I'm guessing, you see that your app has a user type of "Public"; if that's the case, you click "EDIT APP" at the top, and change the type into "Internal" and, then, you will be able to go ahead.
07-24-2020 10:09 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CharlieX Offline
Junior Member
**

Posts: 7
Joined: Sep 2019
Reputation: 2
Post: #26
RE: Cannot sync Google contacts
(07-24-2020 10:09 AM)watergate Wrote:  I see what you mean. Please try this:

While you are at the credentials page - the one from your screen shot - the left hand side menu reads "OAuth consent screen" right below the "Credentials" menu option. You go there and, I'm guessing, you see that your app has a user type of "Public"; if that's the case, you click "EDIT APP" at the top, and change the type into "Internal" and, then, you will be able to go ahead.
I've tried that but it wants a domain, which means it's restricted to G-Suite customers :-(
08-06-2020 11:58 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Maxence Offline
Junior Member
**

Posts: 3
Joined: Mar 2018
Reputation: 0
Post: #27
RE: Cannot sync Google contacts
(08-06-2020 11:58 AM)CharlieX Wrote:  
(07-24-2020 10:09 AM)watergate Wrote:  I see what you mean. Please try this:

While you are at the credentials page - the one from your screen shot - the left hand side menu reads "OAuth consent screen" right below the "Credentials" menu option. You go there and, I'm guessing, you see that your app has a user type of "Public"; if that's the case, you click "EDIT APP" at the top, and change the type into "Internal" and, then, you will be able to go ahead.
I've tried that but it wants a domain, which means it's restricted to G-Suite customers :-(

Hi there !

I can confirm it is not restricted to G-Suite users.
Even with a basic Gmail account I've been able to
* create the project
* create a basic Oauth screen (without supplying a domain)
* create the credentials
* add to the project the Contact API
* add these credentials to a T46S though a CFG file (+ 1st line added)
* Sync my Google Contacts

The Oauth screen is not validated by Google (so you will get a warning while signing in) but it works.
It's OK as I am a techy guy but I confirm it's a pain...
09-03-2020 12:53 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Google Contacts sync DLyon 1 401 11-16-2020 06:46 PM
Last Post: Maxence
  T46S: Outlook contacts are called to email instead of telephone number primator 0 773 02-14-2020 12:24 PM
Last Post: primator
  Delete Internal Contacts axel@circle.cloud 1 819 01-21-2020 06:42 AM
Last Post: Phil_Yealink
  SIP-T32G send local contacts Douglas Silva 0 750 11-13-2019 02:26 PM
Last Post: Douglas Silva
  Utility to sync outlook contacts with T4x phone tsukraw 3 9,916 08-06-2019 07:56 PM
Last Post: justingoldberg
  T48G / Import & sync google contacts Urbany 7 19,743 08-05-2019 09:22 PM
Last Post: justingoldberg
  [SOLVED] T46-Call Forward Off Code Adds Target to Dial String When Sync Enabled kg4ysy 4 4,587 01-25-2018 01:10 PM
Last Post: kg4ysy
  Call Transfer Issue - No Contacts Displayed Vikas 0 1,912 09-05-2017 10:06 AM
Last Post: Vikas
Exclamation Local Contacts Backup Not Working Garan 1 2,557 08-28-2017 04:25 PM
Last Post: complex1
  Search contacts in Transfer Niksea 2 3,387 06-21-2017 06:45 AM
Last Post: Niksea

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication