Skip to content

Conversation

@garotm
Copy link
Member

@garotm garotm commented Oct 10, 2025

  • Add gho_ token validation in _validate_token function
  • Update documentation to mention organization token support
  • Add test case for organization token validation
  • Bump version to 2.0.1

Note

Adds support for gho_ organization tokens, updates docs, adds a test, and bumps version to 2.0.1.

  • Core:
    • Update githubauthlib/github_auth.py _validate_token to accept gho_ (organization) tokens in addition to ghp_ and github_pat_.
  • Tests:
    • Add test_validate_token_organization verifying gho_ token validation.
  • Docs:
    • Adjust README.md feature/troubleshooting notes to include gho_ organization tokens and clarify token prefixes.
  • Release:
    • Bump version to 2.0.1 in githubauthlib/__init__.py and setup.py.

Written by Cursor Bugbot for commit 72d1396. This will update automatically on new commits. Configure here.

- Add gho_ token validation in _validate_token function
- Update documentation to mention organization token support
- Add test case for organization token validation
- Bump version to 2.0.1
@garotm garotm self-assigned this Oct 10, 2025
@garotm garotm added this to fleXRP Oct 10, 2025
@garotm garotm added the enhancement New feature or request label Oct 10, 2025
…licate code warning

- Merge identical return True statements for ghp_ and gho_ tokens
- Both token types use same length validation (>= 40)
- Resolves SonarCloud code duplication warning
@sonarqubecloud
Copy link

@garotm garotm moved this to Ready For review in fleXRP Oct 10, 2025
@garotm garotm merged commit 9f0f524 into main Oct 10, 2025
17 checks passed
@github-project-automation github-project-automation bot moved this from Ready For review to Done in fleXRP Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants