Skip to content

Commit

Permalink
Adds typo correction for v4_upgrade_guide.rst doc (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
udoyen authored May 6, 2022
1 parent aca21b9 commit fe6c167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/v4_upgrade_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Encoded JWT Changes (IMPORTANT)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- The ``JWT_USER_CLAIMS`` configuration option has been removed. Now when creating
JWTs with additional claims, those claims are put on the top level of the token,
insetad of inside the the nested ``user_claims`` dictionary. This has the very
instead of inside the the nested ``user_claims`` dictionary. This has the very
important benefit of allowing you to override reserved claims (such as ``nbf``)
which was not previously possible in this extension.

Expand All @@ -21,7 +21,7 @@ Encoded JWT Changes (IMPORTANT)
This has the unfortunate side effect that any existing JWTs your application is
using will not work correctly if they utilize additional claims. We **strongly**
suggest changing your secret key to force all users to get the new format of
JWTs. If that is not feasible for your appilication you could build a shim to
JWTs. If that is not feasible for your application you could build a shim to
handle both the old JWTs which store additional claims in the ``user_claims``
key, and the new format where additional claims are now stored at the top
level, until all the JWTs have had a chance to cycle to the new format.
Expand Down

0 comments on commit fe6c167

Please sign in to comment.