8

There's no real guide for this, this is the existing documentation :

https://www.jetbrains.com/help/rider/GitHub.html

it's outdated.

Rider actually wants you to provide a token :

token login

this seems to not be the personal token.

I tried it with my server, it didn't work. login failure

There's also a button for generating the token which does not work.

it systematically generates github 404 pages : github 404

I assume the "Server" field is supposed to be in the

https://github.com/<SERVERNAME>

or

https://github.com/organizations/<SERVERNAME>

format.

but I cannot for the life of me figure out where I get the server's token from.

Again I did generate a github personal user token, but this one is refused by github enterprise login.

just like the personal user settings, the Github enterprise settings has a "developer settings" tab :

developer settings

but this tab seems to be for a different use, you create an "app" to be browsed on the "github app market", and I did create this but this is the full list of actions this gives access to :

actions

none of which involve giving me a token.

This is neither something that can be found in the options through brute force nor something that google yields results for.

I need help.

Update:

A bit more serching lead me to this doc : https://docs.github.com/en/actions/reference/authentication-in-a-workflow#modifying-the-permissions-for-the-github_token

it seems like the GITHUB_TOKEN they are talking about is the thing I would be interested in. at the top of the doc, the info-bubble claims this feature is not made available for users of Github free?

Is this what's going on?

this would be terrible communication on Github's and also Jet Brain's part. how are users to understand this and why does rider wish to force you to use this paid feature for integrating with github enterprise, when cloning the repo directly from a terminal that has your SSH key work just fine?

this is absurd. at the very least adding individual repos with github logins via SSH should be an available feature.

tatsu
  • 2,316
  • 7
  • 43
  • 87

1 Answers1

4

You need to enter the domain name where your Github enterprise is hosted.

enter image description here

Then you can click "Generate.." which opens Github in your browser enter image description here

Click the green Generate button at the bottom, and then copy and paste the token into IntelliJ.

This worked for me. You could also probably navigate to the "OAuth Apps" page yourself and create a new app with the correct permissions and paste the token in.

James Wierzba
  • 16,176
  • 14
  • 79
  • 120