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

fix: github enterprise login #533

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

uanid
Copy link
Contributor

@uanid uanid commented Dec 23, 2021

Hello,

I saw #524, Also I tested with latest commits.
But Login to Github Enterprise Server with PAT not works. (See #527)
Because Github Etnerprise Server's API url pattern is https://${hostname}/api/v3.

Changes

This PR deduplicates api-url generate codes.

Github Enterprise API url reference

https://docs.github.com/en/[email protected]/rest/reference/users
image

@uanid uanid changed the title Delete duplicated generate api url code Deduplicate api-url generate code Dec 24, 2021
Copy link
Collaborator

@codebytere codebytere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit, otherwise good to go.

.gitignore Outdated Show resolved Hide resolved
@uanid uanid requested a review from codebytere January 3, 2022 09:19
@pbsureja
Copy link

Thank you @uanid for fixing this and @codebytere for reviewing this 🙂 . Do we know whose approval from maintainers do we need here ?

@uanid uanid changed the title Deduplicate api-url generate code Fix Github Enterprise Login (Deduplicate api-url generate code) Aug 7, 2022
@Araxeus
Copy link
Contributor

Araxeus commented Feb 4, 2023

@pbsureja want to make the same PR in my fork? 🙂 https://github.com/Araxeus/gitify

@afonsojramos afonsojramos changed the title Fix Github Enterprise Login (Deduplicate api-url generate code) fix: github enterprise login Sep 14, 2023
Copy link
Member

@afonsojramos afonsojramos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@afonsojramos afonsojramos merged commit e35c68b into gitify-app:main Sep 14, 2023
1 check passed
@uanid uanid deleted the feature/collect-generate-api-url branch September 14, 2023 02:08
@setchy setchy added the bug Something isn't working label Mar 27, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants