Not getting refresh token in oauth/token api
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- api, authentication
Research direction
Start by reproducing the request to /oauth/token with the code and OAUTH2_REFRESH_TOKEN_GENERATOR=True in the Flask app configuration. Trace the token response and determine why it contains access_token but not refresh_token; done means the API returns the expected refresh token when that setting is enabled.
Written by the indexing model from the issue text.
Description
I am calling /oauth/token to generate the token by passing the code. I set OAUTH2_REFRESH_TOKEN_GENERATOR=True in my flask app config. But I only get access_token in the response but not refresh_token.
- Dominant language
- Python
- Stars
- 705
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from authlib/example-oauth2-server
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
authlib/example-oauth2-server#95 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
authlib/example-oauth2-server#92 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
authlib/example-oauth2-server#90 · 8 comments ·
All issues in authlib/example-oauth2-server
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100