[Bug] BaseBearerTokenAuthenticationProvider.authenticate_request does not refresh token with authorization header is present

Open
#237 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #238 by @michaeldcanady — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python

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.

Description

enhancement WIP

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

Dominant language
Python
Stars
31
Forks
39
Avg merge
11h 45m
Merged PRs (30d)
42

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/kiota-python

All issues in microsoft/kiota-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.