Skip to content

Commit

Permalink
Merge pull request #413 from momobel/fix_typo_refresh_token
Browse files Browse the repository at this point in the history
docs: Fix typos in token refresh section of oauth2 worflow
  • Loading branch information
jtroussard committed May 14, 2020
2 parents d75279c + fe64d5a commit 46f886c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/oauth2_workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ methods of obtaining refresh tokens. All of these are dependant on you
specifying an accurate ``expires_in`` in the token.

``expires_in`` is a credential given with the access and refresh token
indiciating in how many seconds from now the access token expires. Commonly,
access tokens expire after an hour an the ``expires_in`` would be ``3600``.
indicating in how many seconds from now the access token expires. Commonly,
access tokens expire after an hour and the ``expires_in`` would be ``3600``.
Without this it is impossible for ``requests-oauthlib`` to know when a token
is expired as the status code of a request failing due to token expiration is
not defined.
Expand Down

0 comments on commit 46f886c

Please sign in to comment.