From fe64d5a25f8c65422742e411765b13038e7b27b5 Mon Sep 17 00:00:00 2001 From: Momo Bel Date: Tue, 12 May 2020 10:26:08 +0200 Subject: [PATCH] docs: Fix typos in token refresh section of oauth2 worflow --- docs/oauth2_workflow.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/oauth2_workflow.rst b/docs/oauth2_workflow.rst index faff6654..81bb62a4 100644 --- a/docs/oauth2_workflow.rst +++ b/docs/oauth2_workflow.rst @@ -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.