You've already forked amazing-ytdlp-archive
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
96565e9e2b |
@@ -114,8 +114,10 @@ class OIDC():
|
|||||||
algorithms=jwt.algorithms.get_default_algorithms(),
|
algorithms=jwt.algorithms.get_default_algorithms(),
|
||||||
issuer=self.provider,
|
issuer=self.provider,
|
||||||
require=['aud', 'client_id', 'exp', 'iat', 'iss', 'rat', 'sub'],
|
require=['aud', 'client_id', 'exp', 'iat', 'iss', 'rat', 'sub'],
|
||||||
audience=self.client_id)
|
audience=self.client_id,
|
||||||
except:
|
leeway=5)
|
||||||
|
except Exception as e:
|
||||||
|
print(e, flush=True)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# double check if given token is really requested by us
|
# double check if given token is really requested by us
|
||||||
|
Reference in New Issue
Block a user