Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search contacts in Google Workspace #2567

Open
sosnovsky opened this issue May 9, 2024 · 0 comments
Open

Search contacts in Google Workspace #2567

sosnovsky opened this issue May 9, 2024 · 0 comments
Milestone

Comments

@sosnovsky
Copy link
Collaborator

Currently when app performs contact search, it searches only in user contacts (contacts and contacts.other scopes), but when user is a member of Google Workspace it's also possible to search across all workspace members.

It requires additional authorization scope - https://www.googleapis.com/auth/admin.directory.user.readonly and using https://developers.google.com/people/api/rest/v1/people/searchDirectoryPeople API for searching workspace users.

This functionality is needed only for users who are members of Google Workspace, seems like we can check that in hd claim of user's id token - https://developers.google.com/identity/openid-connect/openid-connect#hd-param

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant