Updated QSG authored by Dzmitry Malkevich (EPAM)'s avatar Dzmitry Malkevich (EPAM)
......@@ -76,9 +76,14 @@ The instruction for granting permissions is available by [the link](https://comm
You have several options to obtain `refresh_token`. But in all cases you need to have CLIENT_ID and CLIENT_SECRET and set them in Postman environment.
- Ask “Owner” or “Editor” of the GoogleCloud project where OSDU is deployed to create a client that is planned to use (API & Services -> Credentials -> OAuth 2.0 Client IDs)
![Image 4. Adding a client](uploads/3548c5785436951575a471cc04d05fd5/image007.png)
![Image 6.GCP: Client ID and Client Secret](uploads/8b0592b7bea223f84e20f9b0efdadf43/image011.png)
- For non-production purposes you could use following values:
```text
CLIENT_ID=605457357143-6h6uqunq67f53m9jeibn38gupd27bsfb.apps.googleusercontent.com
CLIENT_SECRET=RZsmDE6ebJ7OGu5Csvz151JA
```
- For production environments or due to other restrictions ask “Owner” or “Editor” of the GoogleCloud project where OSDU is deployed to create a client that is planned to use (OAuth configuration is out of scope of this document)
- Copy-paste CLIENT_ID and CLIENT_SECRET into the environmental variables in Postman. Make sure you are updating both `INITIAL VALUE` and `CURRENT VALUE`
![Image 5. Updating CLIEND_ID and CLIENT_SECRET in the Postman environment variables](uploads/f984c539a3ade847147ad3872a171e7c/image009.png)
......
......