Chef OAuth


#1

I’m trying to enable Chef OAuth with Chef Enterprise 12.0.3. I followed the instructions at:

I modified the private-chef.rb on both the backend and frontend, and its contents are:

oc_id[‘administrators’] = [ “dklopp”, “jbd” ]

I reran ‘private-chef-ctl reconfigure’. I was able to login to mychefserver/id successfully. But when i went to mychefserver/id/oauth/applications I received a “Page Not Found” error.

Did I do something wrong?

-Dan

This communication is Confidential Information. By using this message and attachments you implicitly consent to terms and conditions set forth at http://www.taos.com/email_disclaimer. If you do not consent or received this message in error, please destroy it.


#2

I figured it out. The blog entry I referenced below was for Chef 11.x. When I dug through Chef’s code, I found out that private-chef.rb was deprecated, and now that configuration is located in chef-server.rb. Adding it there fixed the problem.

-Dan


From: Daniel Klopp [dklopp@taos.com]
Sent: Thursday, January 08, 2015 8:17 AM
To: chef@lists.opscode.com
Subject: [chef] Chef OAuth

I’m trying to enable Chef OAuth with Chef Enterprise 12.0.3. I followed the instructions at:

I modified the private-chef.rb on both the backend and frontend, and its contents are:

oc_id[‘administrators’] = [ “dklopp”, “jbd” ]

I reran ‘private-chef-ctl reconfigure’. I was able to login to mychefserver/id successfully. But when i went to mychefserver/id/oauth/applications I received a “Page Not Found” error.

Did I do something wrong?

-Dan

This communication is Confidential Information. By using this message and attachments you implicitly consent to terms and conditions set forth at http://www.taos.com/email_disclaimer. If you do not consent or received this message in error, please destroy it.