Application access for chef account

Hello,

I'm trying to set up own chef private supermarket.
The version which am using are
Chef Development Kit Version: 1.3.43
chef-client version: 12.19.36
berks version: 5.6.4
kitchen version: 1.16.0

I have problem in granting access to supermarket application.
I'm attaching the screenshot below:

Could anyone guide me how to grant permission for this application.
your suggestion would be helpful.

Thanks :slight_smile:

Hi Sam,

how did you install the supermarket? Have you followed the steps in the installation document of the supermarket? (https://docs.chef.io/install_supermarket.html)

But i think, that you forgot to configure the OAuth 2

Best regards,
Patrick

Hi Patrick,

Yes I have installed chef private super market using same link.

In the Chef Server /etc/opscode/chef-server.rb the redirect URI is pointing to chefsupermarketURL//auth/chef_oauth2/callback
And in /etc/opscode/oc-id-application/supermarket.json the redirect URI is pointing to the
chef supermarket URL//auth/chef_oauth2/callback

In chef supermarket /etc/supermarket/supermarket.rb
default['supermarket']['chef_oauth2_url']="chefserverURL//auth/chef_oauth2/callback

Now the error am getting is

So could you please guide me out.

Thanks :slight_smile: