mirage / ocaml-github

GitHub APIv3 OCaml bindings
ISC License
100 stars 61 forks source link

git-jar make is not able to create cookies anymore #259

Open kit-ty-kate opened 2 years ago

kit-ty-kate commented 2 years ago

Trying to use git-jar make <user> <cookie> results in:

Fatal error: exception (Failure "HTTP Error 404 Not Found" .....)
[...]
  \n\
  \nBody:\
  \n{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest\"}\
  \n")

It looks like they removed this functionality from the rest api.

tmcgilchrist commented 2 years ago

GitHub deprecated the endpoint git-jar make used. It needs to use a Web application flow with a local host redirect.

If that command is useful, we should make the required deprecations this library and update the cli tools.

cuihtlauac commented 1 year ago

Have you been able to work around this issue?

kit-ty-kate commented 1 year ago

Not really. I just stopped using git-jar all together instead.