-
Notifications
You must be signed in to change notification settings - Fork 113
Chef Authentication
Tim Smith edited this page Aug 18, 2021
·
7 revisions
Supermarket uses oc-id, a Chef Identity Service, to handle accounts and authentication with OAuth2. It allows users to have one account across multiple Chef applications.
Chef Identity is included with with Chef Infra server 12 and newer.
If you're running a local copy of Supermarket, you'll need to set the following environment variables:
-
CHEF_OAUTH2_URL
: The protocol, host, and port of your oc-id instance (example: https://supermarket.mycorp.com:12345) -
CHEF_OAUTH2_APP_ID
andCHEF_OAUTH2_SECRET
: The keys from your oc-id application
After Supermarket has been restarted, you should be able to sign in using your oc-id instance.
You may want to refer to step-by-step instructions for setting up oc-id and Supermarket