Skip to content

Commit

Permalink
docs: Fix typos in token refresh section of oauth2 worflow
Browse files Browse the repository at this point in the history
  • Loading branch information
momobel authored May 12, 2020
1 parent d75279c commit fe64d5a
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 fe64d5a

Please sign in to comment.