Skip to content

Commit

Permalink
update repo with audience
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxcutex committed Feb 2, 2021
1 parent 8350b5a commit 3bb807a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/utils/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ def decode_token(token):
decoded = jwt.decode(
token,
public_key,
# audience="webspoons.com",
# issuer="accounts.webspoons.com",
# options={"verify_exp": True},
audience="webspoons.com",
issuer="accounts.webspoons.com",
options={"verify_exp": True},
)
return decoded
except jwt.ExpiredSignature:
Expand Down

0 comments on commit 3bb807a

Please sign in to comment.