We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fffded commit 788b400Copy full SHA for 788b400
1 file changed
oauth2cli/assertion.py
@@ -4,8 +4,6 @@
4
import uuid
5
import logging
6
7
-import jwt
8
-
9
10
logger = logging.getLogger(__name__)
11
@@ -99,6 +97,7 @@ def create_normal_assertion(
99
97
Parameters are defined in https://tools.ietf.org/html/rfc7523#section-3
100
98
Key-value pairs in additional_claims will be added into payload as-is.
101
"""
+ import jwt # Lazy loading
102
now = time.time()
103
payload = {
104
'aud': audience,
0 commit comments