googleapis / googleapis/google-api-nodejs-client

users.settings.delegates List not showing delegates and Create not adding Groups

Offen
#3,239 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
priority: p2 type: bug
Vorherrschende Sprache
TypeScript
Sterne
12.2k
Forks
2k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
24

Beschreibung

I've created a flow which creates a JWT token from a service account impersonating the mailbox account, it creates a Google Group based on some of the property names. Another JWT Token is created impersonating a bot account that has Group Admin role, this is to patch the group to hide from Address List (avoid people emailing it). The issues encountered are as following:

- When creating the Google Group, all is well, but when adding it as a delegate to the mailbox it keeps giving error saying "Invalid Delegate" however the delegate does exist in Google Admin and does work if manually done from the Mailboxes Account Settings.
- When trying to get details on extra parameters, I attempted a List delegate on the mailbox and keep getting a 204 response with the body being ""
Appreciate the help on this one 🙏

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the users.settings.delegates List and Create calls using the JWT impersonation flow described in the issue, recording the 204 response and Invalid Delegate error. Compare those results with manually adding the delegate in the mailbox settings and verify whether the client request or the upstream Google API is responsible; done means identifying a reproducible fix or a documented upstream limitation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
nodejs, typescript
Bereich
api, authentication
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.