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

Can't authenticate on github #1694

Closed
AugustoEMoreira opened this issue Jul 8, 2016 · 10 comments
Closed

Can't authenticate on github #1694

AugustoEMoreira opened this issue Jul 8, 2016 · 10 comments
Labels
status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.

Comments

@AugustoEMoreira
Copy link

When i tried to authenticate i recive this menssage: {"message":"Unsupported OAuth provider github"}

Reproduction Steps:

1 - Menu Profile
2 - Preferences
3 - VCS
4 - github button
5 - A dialog box show: "Eclipse Che requests authorization through OAuth2 protocol" - i clicked in OK
6 - A new page goes up with the menssage {"message":"Unsupported OAuth provider github"}

Che version: 4.4.2
OS and version: Ubuntu 14.04(the che docker)
Docker version: 1.11.2
Che install: https://hub.docker.com/r/codenvy/che/

I think this can be a big mistake from my side, but i do know what

Thanks for help

sorry for my poor english

@TylerJewell
Copy link

Hi @AugustoEMoreira Did you try adding an SSH key in the IDE preferences? You may need to upload one.

@AugustoEMoreira
Copy link
Author

no, how can i do this for github?

@ghost ghost added the status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. label Jul 10, 2016
@rwallinterset
Copy link

rwallinterset commented Jul 11, 2016

@eivantsov If you are doing GitHub you shouldn't have to upload a key should you? It should redirect you to GitHub to allow access assuming oauth is properly added to che.properties.

This sounds similar to the issue I had, oAuth settings in che.properties not getting picked up #1696

Actually I see from the steps this isn't the same issue as I was clicking to import existing project from new Project Wizard.

@thyeun
Copy link

thyeun commented Jul 11, 2016

For me it working fine. i done it with the below step

First, go to the Github "setting", and create a new auth key as show from the below pic
gitauth1

gitauth2

Second, once you created the auth from github and have the key, then you have to set it on your "che.properties".as show from the below pic (remember to change the key from your created at github auth)
gitauth

3rd, once che.properties are setting up, you can go into your localhost:8080 and look for the "VCS" and click the "github octocat" icon and grant access

4th, the final successful will be look like the below pic
gitauth3

hope it help you

p/s : i'm using eclipse che 4.4.0

@ghost
Copy link

ghost commented Jul 19, 2016

@AugustoEMoreira @rwallinterset any update on this issue? Were you able to configure GitHub oAuth?

@ddementieva
Copy link
Contributor

@ghost
Copy link

ghost commented Jul 19, 2016

I'm closing this issue - instructions posted both here and in docs. Feel free to reopen if you face problems with GitHub oAuth in Che.

@stianlagstad
Copy link

I'm trying to clone a private Github repository while using Eclipse Che locally with Docker, and I'm struggling to find a guide with steps to follow. The docs at https://eclipse-che.readme.io/ are no longer available. The "OAuth applications" menu item (ref #1694 (comment)) in Github settings is no longer available. I've figured that I need to set up these environment variables:

CHE_OAUTH_GITHUB_CLIENTID=your_github_client_id
CHE_OAUTH_GITHUB_CLIENTSECRET=your_github_client_secret
CHE_OAUTH_GITHUB_AUTHURI=https://github.com/login/oauth/authorize
CHE_OAUTH_GITHUB_TOKENURI=https://github.com/login/oauth/access_token

But I don't know where and how to get values for these. Is there an up to date guide somewhere?

@hXtreme
Copy link

hXtreme commented Aug 14, 2019

I'm having the same issue and the provided links don't work.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.
Projects
None yet
Development

No branches or pull requests

7 participants