update sdk docs to fix issue with attribute names for ClientId and BaseURL

This commit is contained in:
darrell-thobe-sp
2024-04-23 09:43:02 -04:00
parent 8447edfae5
commit 647231c554
3 changed files with 18 additions and 18 deletions

View File

@@ -98,7 +98,7 @@ You must provide configuration to the SDK so that it can authenticate to your Sa
### Configuration File
The SDK requires a configuration file to be named "config.json". Within the file, provide these key/value pairs: `ClientID`, `ClientSecret`, `BaseUrl`.
The SDK requires a configuration file to be named "config.json". Within the file, provide these key/value pairs: `ClientId`, `ClientSecret`, `BaseURL`.
<details>
<summary>CLI Assisted <em>(Recommended)</em></summary>
@@ -120,9 +120,9 @@ sail sdk init config --env devrel
```json
{
"ClientID": "g0567b766b413b22c05c66e75d532f1b",
"ClientId": "g0567b766b413b22c05c66e75d532f1b",
"ClientSecret": "cabd0e950a7230b63c1ff45be33fb22065b382b6251a73c61177a8bb5482fcc7",
"BaseUrl": "https://[tenant].api.identitynow.com"
"BaseURL": "https://[tenant].api.identitynow.com"
}
```
@@ -131,15 +131,15 @@ sail sdk init config --env devrel
<details>
<summary>Manual Configuration</summary>
Create a file named "config.json", and provide these key/value pairs: `ClientID`, `ClientSecret`, `BaseUrl`.
Create a file named "config.json", and provide these key/value pairs: `ClientId`, `ClientSecret`, `BaseURL`.
#### Example "config.json"
```json
{
"ClientID": "g0567b766b413b22c05c66e75d532f1b",
"ClientId": "g0567b766b413b22c05c66e75d532f1b",
"ClientSecret": "cabd0e950a7230b63c1ff45be33fb22065b382b6251a73c61177a8bb5482fcc7",
"BaseUrl": "https://[tenant].api.identitynow.com"
"BaseURL": "https://[tenant].api.identitynow.com"
}
```