prismicio-community/ruby-kit

Problem with OAuth : accessing releases

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, but it doesn't list any release in there (and there is one pending, with changes pushed onto it)
screen shot 2013-11-25 at 9 12 28 am

I tried copy-pasting the "Permanent access token" field from the settings into the token field in prismic.yml; all it did is that I now get the selectbox all the time (I don't need to sign in), but without any releases either.

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! :)