Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from mroman-redhat/https-test
Browse files Browse the repository at this point in the history
Changed httponly property of cookie to False
  • Loading branch information
vpavlin authored Jan 5, 2021
2 parents 6f239be + 6cce87e commit 168b84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _OAUTH_USERINFO_URL(self):
return self.authenticator.userdata_url

def set_state_cookie(self, state):
self._set_cookie(STATE_COOKIE_NAME, state, expires_days=1, httponly=True)
self._set_cookie(STATE_COOKIE_NAME, state, expires_days=1, httponly=False)

_state = None

Expand Down

0 comments on commit 168b84d

Please sign in to comment.