Skip to content

Conversation

@matiseni51
Copy link
Contributor

Fixes#1211

Description of the Change

Fix confusing documentation about AUTHORIZATION_CODE_EXPIRE_SECONDS.
Matching DefaultACCESS_TOKEN_EXPIRE_SECONDS like in the other settings in docs.

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS

@codecov
Copy link

codecovbot commented Oct 10, 2022

Codecov Report

Merging #1212 (4e7c43d) into master (6dc4f89) will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@## master #1212 +/- ## ======================================= Coverage 96.20% 96.20% ======================================= Files 26 26 Lines 1317 1317 ======================================= Hits 1267 1267 Misses 50 50 

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@n2ygkn2ygk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor grammatical change

token after this duration will fail. :rfc:`4.1.2` recommends a
10 minutes (600 seconds) duration.
token after this duration will fail. :rfc:`4.1.2` recommends expire after a short lifetime,
being 10 minutes (600 seconds) the maximum acceptable.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
being 10 minutes (600 seconds) the maximum acceptable.
with 10 minutes (600 seconds) being the maximum acceptable.

@n2ygkn2ygk merged commit 70eaf47 into django-oauth:masterOct 22, 2022
@matiseni51matiseni51 deleted the fix-docs-authorization-code-expire branch October 25, 2022 06:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

extend AUTHORIZATION_CODE_EXPIRE_SECONDS

2 participants

@matiseni51@n2ygk