Skip to content

Commit

Permalink
Fix issue eduvpn#181, undo eduvpn#169 (eduvpn#183)
Browse files Browse the repository at this point in the history
* Revert "Include client_id in phase 2 (eduvpn#169)"

This reverts commit 9aa4552.

* fix issue eduvpn#181
  • Loading branch information
gijzelaerr authored Aug 17, 2019
1 parent 9aa4552 commit c0e218d
Show file tree
Hide file tree
Showing 22 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
before_install:
- true
install:
- docker build . -t ${DIST} -f docker/${DIST}
- docker build . -t ${DIST} -f docker/${DIST}.docker
before_script:
- true
script:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ notebook: .virtualenv3/bin/jupyter-notebook
.virtualenv3/bin/jupyter-notebook

dockers:
for i in `ls docker/Dockerfile*`; do echo "*** $$i"; docker build . -f $$i; done
for i in `ls docker/*.docker`; do echo "*** $$i"; docker build . -f $$i; done

srpm:
docker build -t eduvpn_fedora_rpm -f docker/eduvpn_fedora_28_rpm .
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion eduvpn/steps/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _phase2_background(meta, port, oauth, code_verifier, auth_url, dialog, build
logger.error("received from state, expected: {}, received: {}".format(state, other_state))
raise Exception("oauth state has been tampered with")
logger.info("setting oauth token for metadata")
meta.token = oauth.fetch_token(meta.token_endpoint, code=code, code_verifier=code_verifier, client_id=oauth.client_id, include_client_id=True)
meta.token = oauth.fetch_token(meta.token_endpoint, code=code, code_verifier=code_verifier)
except Exception as e:
error = e
if dialog.get_property("visible") and dialog.session == session:
Expand Down

0 comments on commit c0e218d

Please sign in to comment.