Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
willronchetti committed Aug 3, 2023
2 parents b0957bc + 89ad813 commit c62aff3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Change Log
us to use ``$merge`` refs.


9.1.1
=====

* Small fix for JWT Decode incompatible change

9.1.0
=====

Expand Down
4 changes: 2 additions & 2 deletions snovault/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,10 @@ def impersonate_user(context, request):
)

is_https = request.scheme == "https"

token_value = id_token.decode('utf-8') if isinstance(id_token, bytes) else id_token
request.response.set_cookie(
"jwtToken",
value=id_token.decode('utf-8'),
value=token_value,
domain=request.domain,
path="/",
httponly=True,
Expand Down

0 comments on commit c62aff3

Please sign in to comment.