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

Add optional cancellation token for oauth client #2988

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

zoriya
Copy link
Contributor

@zoriya zoriya commented Jan 3, 2025

I did not make an issue, but there is already multiples PR for other parts of the codebase so I guess this is fine?


Before the change?

We could never cancel login requests (especially device flow requests, which waits for the user to do something in a browser window).

After the change?

We can now cancel such requests.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

  • Yes
  • No

Copy link
Contributor

@nickfloyd nickfloyd left a comment

Choose a reason for hiding this comment

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

Hey @zoriya thanks for the contributions here! ❤️

@nickfloyd nickfloyd merged commit 4f892d6 into octokit:main Jan 3, 2025
1 check passed
@zoriya zoriya deleted the feat/ct-oauth branch January 3, 2025 19:04
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