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

Feat: cleanup versions #109

Merged
merged 2 commits into from
May 7, 2024
Merged

Feat: cleanup versions #109

merged 2 commits into from
May 7, 2024

Conversation

jgresty
Copy link
Member

@jgresty jgresty commented May 7, 2024

remove version from authorizationURL

This param was never used upstream, however until recently it was required for historic reasons. We have now changed that so it is no longer required and thus superfluous. Not specifying it will improve compatibility with other OAuth2 libraries.

call GA version of get /orgs endpoint

We shouldn't be setting an example of calling experimental endpoints, this endpoint is in GA so call that instead.

@jgresty jgresty requested a review from a team as a code owner May 7, 2024 14:49
Copy link

@tinygrasshopper tinygrasshopper left a comment

Choose a reason for hiding this comment

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

The linter error is valid. You should removed the unused 'APIVersion' variable.

This param was never used upstream, however until recently it was
required for historic reasons. We have now changed that so it is no
longer required and thus superfluous. Not specifying it will improve
compatibility with other OAuth2 libraries.
We shouldn't be setting an example of calling experimental endpoints,
this endpoint is in GA so call that instead.
@jgresty jgresty merged commit bc1375a into main May 7, 2024
4 checks passed
@jgresty jgresty deleted the feat/cleanup-versions branch May 7, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants