benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.48k stars 2.7k forks source link

🐛 Cannot link Github account #1818

Closed AdrKacz closed 1 year ago

AdrKacz commented 1 year ago

I tried to add a Github Workplace but I got everytime a 400 error.

Here it is from the log:

{
  "status": 400,
  "headers": {
    "content-length": "240",
    "content-type": "application/json; charset=utf-8",
    "x-github-media-type": "github.v3; format=json",
    "x-github-request-id": "2D2A:61C9:58C4D76:59DA6B8:643BCCE9",
    "x-ratelimit-limit": "60",
    "x-ratelimit-remaining": "52",
    "x-ratelimit-reset": "1681644047",
    "x-ratelimit-resource": "core",
    "x-ratelimit-used": "8"
  },
  "body": {
    "message": "Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param",
    "documentation_url": "https://docs.github.com/v3/#oauth2-token-sent-in-a-header"
  }
}

The app correctly asked Github to issue an token beforehand, it looks like it is not using it however.

benweet commented 1 year ago

Should be fixed with v5.15.0.