Skip to content

Commit 0dd2423

Browse files
committed
docs: fix copy paste
1 parent d859785 commit 0dd2423

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,20 +137,18 @@ OidcServer2ServerClient_createOrUpdate(parentResourceId, clientId, clientSecret,
137137

138138
Remember to set it up TWICE using 2 different `parentResourceId` and `ClientId`! Once for the production site and once for the staging site.
139139

140-
### app setup
140+
### App setup
141141

142-
Edit deployment environment to include the equivalent of this change to your appsettings.json file to include the following with the clientId, clientSecret and the requested scopes:
142+
Edit deployment environment in your hosting environment for both your staging and production site (remember to use 2 different sets of setup) to include:
143143
```json
144-
env DOTNET_CatglobeDeployment__Authority "https://mysite.catglobe.com/"
145144
env DOTNET_CatglobeDeployment__ClientSecret "the client secret"
146-
env DOTNET_CatglobeDeployment__ClientSecret "the client secret"
147-
env DOTNET_CatglobeDeployment__ClientSecret "the client secret"
148-
145+
env DOTNET_CatglobeDeployment__ClientId "the client id"
146+
env DOTNET_CatglobeDeployment__FolderResourceId "the parentResourceId"
147+
```
148+
and edit your appsettings.json for your deployment project to include this:
149+
```json
149150
"CatglobeDeployment": {
150151
"Authority": "https://mysite.catglobe.com/",
151-
"ClientId": "DA431000-F318-4C55-9458-96A5D659866F",
152-
"ClientSecret": "verysecret",
153-
"FolderResourceId": 42,
154152
"ScriptFolder": "./CgScript"
155153
}
156154
```

0 commit comments

Comments
 (0)