Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Adding support for `x-include-refresh-token-hard-expires-in`

Open Beginner friendly
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

Start with intuitlib.client.AuthClient and inspect the refresh and get_bearer_token methods described in the issue. Compare their existing parameters and response handling with the requested include_refresh_token_hard_expires_in option; done means the option adds the required header and exposes the returned value through x_refresh_token_hard_expires_in.

Written by the indexing model from the issue text.

Description

Hello!

Regarding: https://medium.com/intuitdev/track-your-refresh-tokens-hard-expiry-with-a-new-response-field-7a95ed3ab67f

I have built a wrapper around intuitlib.client.AuthClient that subclasses both refresh and get_bearer_token with adding a new param include_refresh_token_hard_expires_in=False. When set to True is adds the necessary header field. It also adds self.x_refresh_token_hard_expires_in = None to the init.

Would you be open to a pull request to get this into the official version? I see in the blog it's coming soon. Not sure if that means it's already in the works or not.

Thanks.

Dominant language
Python
Stars
86
Forks
59
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 intuit/oauth-pythonclient

All issues in intuit/oauth-pythonclient

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.