Skip to content

Commit

Permalink
Adding domain to cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsibilla committed Aug 28, 2023
1 parent 5b3bf0e commit 68b4b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _login(redirect_uri, key = 'tokens'):

# create a response for the user
response = make_response(redirect(redirect_uri))
response.set_cookie('info', base64_json_str, expires=2**31 - 1)
response.set_cookie('info', base64_json_str, expires=2**31 - 1, domain='.sennetconsortium.org')
return response


Expand Down

0 comments on commit 68b4b9a

Please sign in to comment.