You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Google Domain-Wide Delegation (GOOGLE_DWD) auth support (#153)
* feat: add Google Domain-Wide Delegation (GOOGLE_DWD) auth support
- Add GoogleDWDAuth message and regenerate connected_accounts_pb2.py
- Add google_dwd branch to CreateConnectedAccountRequest.to_proto()
- Add google_dwd branch to UpdateConnectedAccountRequest.to_proto()
- Switch ConnectedAccount.from_proto() to use WhichOneof("details")
- Add 5 unit tests for request/response serialization and oauth_token isolation
* chore: remove implementation plan file
* fix: validate google_dwd subject before proto serialization
* add create and upadte connection
* add make tests for quick testing
* remove some unused funcs
* add google DWD test
* add refrence
* increase sleep time to 1 sec
Lists all environment-level app connections. These are connections configured at the environment level (not tied to a specific organization), such as OAuth integrations (e.g., HubSpot) or Google Domain-Wide Delegation connections.
Creates a new environment-level connection. Supports OAuth connections (e.g., HubSpot) and Google Domain-Wide Delegation (GOOGLE_DWD) connections. Pass `Flags(is_app=True)` to mark the connection as an app-level integration.
1551
+
</dd>
1552
+
</dl>
1553
+
</dd>
1554
+
</dl>
1555
+
1556
+
#### 🔌 Usage
1557
+
1558
+
<dl>
1559
+
<dd>
1560
+
1561
+
<dl>
1562
+
<dd>
1563
+
1564
+
```python
1565
+
from scalekit.v1.connections.connections_pb2 import (
Updates an environment-level connection. This is a PATCH operation — only fields provided in the `UpdateConnection` object are changed; unspecified fields remain unchanged. Always include the `type` field to avoid server-side errors.
1640
+
</dd>
1641
+
</dl>
1642
+
</dd>
1643
+
</dl>
1644
+
1645
+
#### 🔌 Usage
1646
+
1647
+
<dl>
1648
+
<dd>
1649
+
1650
+
<dl>
1651
+
<dd>
1652
+
1653
+
```python
1654
+
from scalekit.v1.connections.connections_pb2 import (
0 commit comments