Skip to content

Commit

Permalink
Merge pull request #343 from EBI-Metagenomics/Hotfix/Auth-Cookies
Browse files Browse the repository at this point in the history
Setting cookies after jwt auth obtain call is made
  • Loading branch information
SandyRogers authored Jan 12, 2024
2 parents 808dab4 + 57308e9 commit b626b7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emgcli/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ def create_secret_key(var_dir):
JWT_AUTH = {
'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=108000),
'JWT_AUTH_HEADER_PREFIX': 'Bearer',
'JWT_AUTH_COOKIE': 'EMG_AUTH',
}

try:
Expand Down

0 comments on commit b626b7b

Please sign in to comment.