microsoft / microsoft/kiota-python
[Bug] BaseBearerTokenAuthenticationProvider.authenticate_request does not refresh token with authorization header is present
Nobody has claimed this yet.
- #238 by @michaeldcanady — closed without merging
- Dominant language
- Python
- Stars
- 31
- Forks
- 39
- Avg merge
- 11h 45m
- Merged PRs (30d)
- 42
Description
Is your feature request related to a problem? Please describe.
When authentication a request the method authenticate_request fails to refresh an expired JWT token.
Describe the solution you'd like
once expired authenticate_request should retrieve a new token.
Describe alternatives you've considered
N/A
Additional context
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at BaseBearerTokenAuthenticationProvider.authenticate_request and inspect how it handles an expired JWT when an authorization header is present. Done means the method retrieves a new token instead of failing to refresh the expired token, with behavior checked against the existing authentication tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100