Skip to content

Commit

Permalink
SEP-24 interactive URL token iat: set 1 second grace period (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriescl authored Jan 19, 2023
1 parent fef83c8 commit b678bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polaris/sep24/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def generate_interactive_jwt(
Generates a 30-second JWT for the client to use in the GET URL for
the interactive flow.
"""
issued_at = time.time()
issued_at = int(time.time()) - 1
payload = {
"iss": request.build_absolute_uri(request.path),
"iat": issued_at,
Expand Down

0 comments on commit b678bf7

Please sign in to comment.