Skip to content

Commit

Permalink
Merge pull request #1 from e0d/e0d/fix-rsa_import_key-error
Browse files Browse the repository at this point in the history
fix: defensive set var
  • Loading branch information
lpm0073 committed Jan 18, 2023
2 parents c7498d1 + 74cf7ce commit 37f659f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
CORS_ALLOW_CREDENTIALS = True
CORS_ORIGIN_WHITELIST = []

{% set jwt_rsa_key = rsa_import_key(JWT_RSA_PRIVATE_KEY) %}
{% set jwt_rsa_key | rsa_import_key %}{{ JWT_RSA_PRIVATE_KEY }}{% endset %}
JWT_AUTH["JWT_ISSUER"] = "{{ JWT_COMMON_ISSUER }}"
JWT_AUTH["JWT_AUDIENCE"] = "{{ JWT_COMMON_AUDIENCE }}"
JWT_AUTH["JWT_SECRET_KEY"] = "{{ JWT_COMMON_SECRET_KEY }}"
Expand Down

0 comments on commit 37f659f

Please sign in to comment.