prismicio-community/ruby-kit

Problem with OAuth : private API

Closed this issue · 3 comments

Honestly, I'm not sure it comes from the kit, it could be me forgetting a step somewhere.

I have a working website based on a public API, everything works fine.

I add an application, and make sure its token allows access to master + releases:
screen shot 2013-11-25 at 9 08 35 am

I've edited the prismic.yml file, and have restarted the server in case it need to parse it upon booting:
screen shot 2013-11-25 at 9 09 58 am

I can now signin to prismic.io on my website, and get the selectbox to change releases.

Now, I'm switching my API from public to private in my settings, and now I'm getting this:
screen shot 2013-11-25 at 9 18 47 am

Is there anything I'm doing wrong?

It should be fixed by aa54d34, please tell me if not :-)

Rather than getting into the technical layers of the OAuth2 protocol (and spend most of the day on it), I'd rather trust you on this one, and test it in the starter kit when the gem is done!

By the way, tested it in a Rails project, and it works like a charm! :)