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:
I've edited the prismic.yml
file, and have restarted the server in case it need to parse it upon booting:
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)
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?
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! :)