Skip to content

Conversation

@LeMyst
Copy link
Owner

@LeMyst LeMyst commented Nov 10, 2025

Sets the User-Agent header when fetching the OAuth2 token to ensure proper identification of the client during authentication.

Sets the User-Agent header when fetching the OAuth2 token to ensure proper identification of the client during authentication.
Copilot AI review requested due to automatic review settings November 10, 2025 12:30
@LeMyst LeMyst mentioned this pull request Nov 10, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds User-Agent header support to the OAuth2 token fetch request in the OAuth2._Login class. Previously, the User-Agent was only set on the session after token fetching; now it's also included in the headers for the token request itself.

Key Changes

  • User-Agent header is now explicitly passed to fetch_token() during OAuth2 authentication
  • The User-Agent construction uses the same pattern as the parent class

@LeMyst LeMyst merged commit 24d9fdb into master Nov 10, 2025
21 checks passed
@LeMyst LeMyst deleted the fix-oauth2 branch November 10, 2025 13:03
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