Skip to content

Commit eb5870d

Browse files
author
Rebecka Gulliksson
committed
Upgrade pysaml2 and pyoidc to ensure use of the new pycryptodome library.
1 parent 3a64dff commit eb5870d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
scripts=["tools/make_satosa_saml_metadata.py"],
2020
install_requires=[
2121
"pluginbase",
22-
"oic",
22+
"oic==0.8.2",
2323
"pyjwkest",
24-
"pysaml2 >= 4.0.2",
24+
"pysaml2==4.0.3",
2525
"requests",
2626
"PyYAML",
2727
"gunicorn",

tests/satosa/backends/FakeOp.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ def get_instance():
130130
CLIENT_ID: {
131131
"client_secret": "client_secret",
132132
"redirect_uris": [("%sauthz" % TestConfiguration.get_instance().rp_base, None)],
133-
"client_salt": "salted"
133+
"client_salt": "salted",
134+
"response_types": ["code", "token"]
134135
}
135136
}
136137

@@ -206,8 +207,6 @@ def setup_userinfo_endpoint(self):
206207
cons.keyjar[""] = KC_RSA
207208

208209
cons.client_secret = "drickyoughurt"
209-
cons.config["response_type"] = ["token"]
210-
cons.config["request_method"] = "parameter"
211210
state, location = cons.begin("openid", "token",
212211
path=TestConfiguration.get_instance().rp_base)
213212

0 commit comments

Comments
 (0)