-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Improve login procedure for GitHub PullRequest Plugin #14217
Comments
could we identify where/how to set the token (from another plugin/extension/or anything else) and by pass the github extension ? If the token is already set, the github extension would work right away. |
We blocked at the moment with no ability use oAuth service in Che multi-user |
hello @vinokurig any progress on this? |
@sunix, not yet, it depends on eclipse-theia/theia#7661 |
@vinokurig can't we move forward without that? |
@ericwill @vinokurig any progress on that one? |
We are currently working on other items, this one will have to wait a sprint or two. |
@vinokurig @ericwill
at startup of the plugin or in an entrypoint. |
This may help to save the login session between workspace restarts, but the initial issue is to make the first login procedure as smooth as possible right? For that we need to have the |
But if we already have the github token https://www.eclipse.org/che/docs/che-7/configuring-github-oauth/ ... can't we reuse it ? rather than doing this from vscode. |
We already using it in the |
so we can just call that code or command from |
We already do the similar approach. The problem is that the
The latest version of the plugin uses the
The workaround is documented. |
The workaround is not acceptable if the user is getting into signin with the GH pr plugin that doesn't work with Che. How will the user magically find that documentation? |
Let's take it differently ... if you look at https://twitter.com/eclipse_che/status/1290225898998755330 how many new users do you think would be able to get signed in and create a PR out of it? |
Is fixed by eclipse-che/che-theia#841 |
Is your enhancement related to a problem? Please describe.
At the moment we have ability to use GitHub Pull Requests for Visual Studio Code, in side Che Theia. In case you want to provide new PullRequest, plugin may request you to login with the OAuth.
Problem is in OAuth server hardcoded on plugin side and it point to VS Code server.
As workaround we provide document which allow setup OAuth token manually:
Describe the solution you'd like
Most reasonable solution will be provide ability for setup OAuth server in plugin settings. For this we need to propose PR for original plugin repository.
Describe alternatives you've considered
Fork plugin and replace server url but I don't want consider it as solution. I just described it here to make solutions visible for other.
Additional context
The text was updated successfully, but these errors were encountered: