Skip to content

Commit

Permalink
Update doc for supermarket configuration with Chef Identity (#3161)
Browse files Browse the repository at this point in the history
* Updating supermarket configuration with Chef Identity

Signed-off-by: progress <[email protected]>

* updating supermarket configuration with chef identity docs

Signed-off-by: progress <[email protected]>

Signed-off-by: progress <[email protected]>

* Docs review

Signed-off-by: Ian Maddaus <[email protected]>

---------

Signed-off-by: progress <[email protected]>
Signed-off-by: Ian Maddaus <[email protected]>
Co-authored-by: Ian Maddaus <[email protected]>
  • Loading branch information
RoyShravani and IanMadd authored Oct 4, 2023
1 parent d1341bf commit a54ceee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs-chef-io/content/supermarket/install_supermarket.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,19 @@ To configure Chef Supermarket to use Chef Identity, do the following:

4. Retrieve Supermarket's OAuth 2.0 client credentials:
Depending on your Chef Infra Server version and configuration (see [chef-server.rb](/server/config_rb_server_optional_settings/#config-rb-server-insecure-addon-compat)), this can be retrieved via [chef-server-ctl oc-id-show-app supermarket](/ctl_chef_server/#ctl-chef-server-oc-id-show-app) or is located in `/etc/opscode/oc-id-applications/supermarket.json`:
Depending on your Chef Infra Server version and configuration (see [chef-server.rb](/server/config_rb_server_optional_settings/#general-14)), you can retrieve this from [chef-server-ctl oc-id-show-app supermarket](/server/ctl_chef_server/#oc-id-show-app) or find it in `/etc/opscode/oc-id-applications/supermarket.json`:
```javascript
```json
{
"name": "supermarket",
"uid": "0bad0f2eb04e935718e081fb71asdfec3681c81acb9968a8e1e32451d08b",
"secret": "17cf1141cc971a10ce307611beda7ffadstr4f1bc98d9f9ca76b9b127879",
"redirect_uri": "https://supermarket.mycompany.com/auth/chef_oauth2/callback"
"redirect_uri": "https://supermarket.example.com/auth/chef_oauth2/callback",
"confidential": true
}
```
The `uid` and `secret` values will be needed later on during the setup process for Chef Supermarket.
You will need the `uid` and `secret` later on during the setup process for Chef Supermarket.
{{< note >}}
Expand Down
4 changes: 4 additions & 0 deletions docs-chef-io/content/supermarket/supermarket_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ Each Private Supermarket installation is unique. The PostgreSQL upgrade steps ar
sudo supermarket-ctl restart
```
## Release Specific Upgrade: Chef Infra Server 15.8.x
Private Supermarket users upgrading to Chef Infra Server version 15.8.0 or above must refresh their logins and re-authenticate Supermarket with Chef Identity.
## Troubleshooting
### Recovering from Database Cleanup Failures
Expand Down

0 comments on commit a54ceee

Please sign in to comment.