Skip to content

Commit 6fd9ea7

Browse files
committed
Use the latest pyop version
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 2de1c81 commit 6fd9ea7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
packages=find_packages('src/'),
1616
package_dir={'': 'src'},
1717
install_requires=[
18-
"pyop",
18+
"pyop >= 2.1.0",
1919
"pysaml2",
2020
"pycryptodomex",
2121
"requests",

tests/satosa/backends/test_openid_connect.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,11 @@ def test_entire_flow(self, context, backend_config, internal_attributes, userinf
192192
auth_params = dict(parse_qsl(urlparse(auth_response.message).query))
193193

194194
access_token = 12345
195-
context.request = {"state": auth_params["state"], "access_token": access_token}
195+
context.request = {
196+
"state": auth_params["state"],
197+
"access_token": access_token,
198+
"token_type": "Bearer",
199+
}
196200
self.oidc_backend.response_endpoint(context)
197201
assert self.oidc_backend.name not in context.state
198202
args = self.oidc_backend.auth_callback_func.call_args[0]

0 commit comments

Comments
 (0)