Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Cannot link Github account #1818

Closed
AdrKacz opened this issue Apr 16, 2023 · 2 comments
Closed

馃悰 Cannot link Github account #1818

AdrKacz opened this issue Apr 16, 2023 · 2 comments

Comments

@AdrKacz
Copy link

AdrKacz commented Apr 16, 2023

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
Copy link
Owner

benweet commented May 15, 2023

Should be fixed with v5.15.0.

@benweet benweet closed this as completed May 15, 2023
Repository owner deleted a comment from mafgwo May 15, 2023
@omnigenous
Copy link

@benweet Can't login to Github on Librewolf (Firefox fork). I'm getting redirected to https://stackedit.io/oauth2/callback?code=CODE&state=STATE 200 code but it's blank page and nothing happens.

Workaround:
Login in chromium and copy data/tokens from local storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants