Skip to content

Search contacts in Google Workspace #2567

@sosnovsky

Description

@sosnovsky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions