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

Access Token Login not working with On-Prem GitHub Enterprise Servers #527

Open
pbsureja opened this issue Nov 10, 2021 · 4 comments
Open
Labels
bug Something isn't working help-wanted Extra attention is needed

Comments

@pbsureja
Copy link

Hello,

My company uses a non standard Github Enterprise API : https://github.company.com/api/v3 instead of standard api.github.company.com which Gitify seems to refer to when connecting. Is there a way for me to modify configuration use actual api instead of the one created by Gitify ?

@ranma2913
Copy link

Can confirm this at my company too. @pbsureja I think you should update your Issue title though. It's not a non-standard api. In fact it IS standard for On-Prem Hosted GitHub Enterprise servers. See: https://docs.github.com/en/[email protected]/rest/reference/oauth-authorizations

Maybe call the PR "Access Token Login not working with On-Prem GitHub Enterprise Servers"

When very closely reading the setup dialog we see "GitHub for Enterprise" which I'm guessing is a GitHub Cloud Service...
image

@ranma2913
Copy link

ranma2913 commented Nov 30, 2021

A way which works is if you use Oauth App Method. @pbsureja let me know if this works for you.

  1. Create new OauthApp:
    image
  2. Doesn't really matter what you configure here, but this is what I put:
    image
  3. Create new ClientSecret
  4. Configure the Login with Github Enterprise
    image
  5. Sign In using the Oauth Sequence:
    image
  6. Complete the Authorize Application Dialog:
    image

@pbsureja pbsureja changed the title Non standard Github Enterprise API Access Token Login not working with On-Prem GitHub Enterprise Servers Jan 18, 2022
@Juice805
Copy link
Contributor

Juice805 commented May 3, 2022

I believe this was working previously as I have some machines which are still logged in using an Access Token, but on my main machine, I logged out and was unable to authenticate. Appears to be a regression.

I cannot use the Oauth app method for my case.

E: Maybe fixed by #524 once released?

@LunaticMuch
Copy link

Has not been any more traction on this? I experience the same issue. Github Enterprise is not usable

@setchy setchy added bug Something isn't working help-wanted Extra attention is needed labels Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help-wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants