-
Notifications
You must be signed in to change notification settings - Fork 113
Chef Authentication
Nathan L Smith edited this page Jul 31, 2014
·
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.
For instructions on running oc-id locally, see the oc-id project README.
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.