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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workspace/OAuth][GitHub]: Client 400s when trying to authenticate with GitHub as Workspace provider #1795

Closed
kevinnls opened this issue Jun 26, 2022 · 4 comments

Comments

@kevinnls
Copy link

kevinnls commented Jun 26, 2022

@\flokno I think this is another issue. Can you open another ticket and add the HTTP response you get from your GitLab
according to the network tab of your browser ?

Originally posted by @benweet in #1290 (comment)

{
  "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"
}
@kevinnls
Copy link
Author

kevinnls commented Jun 26, 2022

additional reference: Creating scoped access tokens https://docs.github.com/en/rest/apps/oauth-applications#create-a-scoped-access-token

@kevinnls
Copy link
Author

kevinnls commented Jun 26, 2022

where the request is defined in source

docs for the api https://docs.github.com/en/rest/users/users

@ShawnPConroy
Copy link

Hello. It looks like this was first noticed ahead of time and possibly fixed in #1724 and a pull request issued. However, @benweet is the maintainer of StackEdit and has been kinda MIA since 2019. He has not be active on the StackEdit community since Jan 2019. Has few commits over the last two year, but a few for this project one month in 2021. And he seems to maintain the website. So this project seems like it's dead. Which is a shame because it's the best online editor and I use it a lot, and it's a shame it's integrations are not working.

This problem has a workaround listed in #1755 you can use. I did this when adding my workspace, and when I close the site and open again it seems to still be working. People may need to re-authorize their account. Also note it defaults to the 'master' branch rather than 'main' branch wish is the new default branch, if you are creating a new work space on a new repository.

@kevinnls
Copy link
Author

aw. thank you very much for taking the time ^_^

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

2 participants