Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alsugiliazova committed Nov 22, 2024
1 parent 00d64b9 commit d80c3b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jwt_authentication/tests/jwks/different_algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def check_jwt_auth(self, algorithm):
steps.create_user_with_jwt_auth(user_name=user_name)

with And("create private and public keys"):
public_key, private_key_file = steps.generate_ssh_keys(algorithm=algorithm)
public_key, private_key_path = steps.generate_ssh_keys(algorithm=algorithm)

with When("add new validator to the config.xml"):
validator_id = define("validator id", f"jwks_with_{algorithm}")
Expand All @@ -35,7 +35,7 @@ def check_jwt_auth(self, algorithm):
steps.create_static_jwt(
user_name=user_name,
algorithm=algorithm,
private_key_path=private_key_file,
private_key_path=private_key_path,
key_id=key_id,
),
)
Expand Down

0 comments on commit d80c3b5

Please sign in to comment.