From 3bb807a2d0f3c99bc36b9fbd4202a26c53a82658 Mon Sep 17 00:00:00 2001 From: Eno Bassey Date: Tue, 2 Feb 2021 15:43:41 +0100 Subject: [PATCH] update repo with audience --- app/utils/auth.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/utils/auth.py b/app/utils/auth.py index 46ad73a..2351f10 100755 --- a/app/utils/auth.py +++ b/app/utils/auth.py @@ -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: