prose / gatekeeper

Enables client-side applications to dance OAuth with GitHub.
MIT License
760 stars 182 forks source link

Fix Procfile, update documentation. #64

Open linneakirby opened 3 years ago

linneakirby commented 3 years ago

Fix Procfile:

Update documentation:

timwis commented 2 years ago

So odd, this has stopped working for JKAN installations too, and now I'm wondering how it ever worked, since Procfile only defines the server but doesn't run it.

@linneakirby, I think you may have misread about the GITHUB_APPLICATION_CLIENT_... bits though - if you look through the code, it does use OAUTH_CLIENT_... - the github_ one is only placeholder text. So I think if you remove that change from this PR, perhaps it could be merged.

bergvall95 commented 1 year ago

@timwis I had to look at the code to figure this out myself. I think the language explaining it could be a bit more clear that the keys in the environment variables need to be OAUTH_CLIENT_ID and OAUTH_CLIENT_SECRET. Couldn't figure out why it wasn't working when I was using the GITHUB_APPLICATION.. keys.

timwis commented 1 year ago

It's been awhile since I was looking at this, but I vaguely recall the issue may have been which branch gets deployed. Development is the default branch, but the deploy button deploys the master branch, I believe.

bergvall95 commented 1 year ago

@timwis I was just talking about the documentation about the names of the environment variables. Pretty long time after to tag you on that, sorry about that!