1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00

Дополнение документации сервисов Google

This commit is contained in:
Anton Titovets
2025-01-12 13:02:27 +03:00
parent ad6e8514db
commit 7df8a307b1
6 changed files with 24 additions and 0 deletions

View File

@@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur
:::
3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code)
```json title="Result of the function GetTokenByCode() if converted to JSON"

View File

@@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur
:::
3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code)
```json title="Result of the function GetTokenByCode() if converted to JSON"

View File

@@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur
:::
3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code)
```json title="Result of the function GetTokenByCode() if converted to JSON"