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 cef3bbe commit be00c91
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 @@ -102,7 +102,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 be00c91

Please sign in to comment.