It appears to be an incompatibility with oic 0.11.0.1
If use pip to uninstall SATOSA, and then reinstall it, "oic" reverts to
v0.9.0.0, and the token_endpoint issue seems to go away
Liam
On Mon, Sep 18, 2017 at 10:10 AM, Liam Hoekenga <liamr at umich.edu> wrote:
SATOSA won't start If I comment out the db_uri
/or/ leave it blank.
If I don't assign a db_uri, it *does* get set to None, but I get
"MissingRequiredAttribute("token_endpoint")".
Traceback (most recent call last):
File "/opt/local/satosa/lib/python3.5/site-packages/satosa/proxy_server.py",
line 148, in make_app
return ToBytesMiddleware(WsgiApplication(satosa_config))
File "/opt/local/satosa/lib/python3.5/site-packages/satosa/proxy_server.py",
line 90, in init
super().init(config)
File "/opt/local/satosa/lib/python3.5/site-packages/satosa/base.py", line
68, in init
self.request_micro_services + self.response_micro_services)
File "/opt/local/satosa/lib/python3.5/site-packages/satosa/routing.py",
line 59, in init
for instance in frontends}
File "/opt/local/satosa/lib/python3.5/site-packages/satosa/routing.py",
line 59, in
for instance in frontends}
File "/opt/local/satosa/lib/python3.5/site-packages/
satosa/frontends/openid_connect.py", line 163, in register_endpoints
self._create_provider(endpoint_baseurl)
File "/opt/local/satosa/lib/python3.5/site-packages/
satosa/frontends/openid_connect.py", line 83, in _create_provider
self.provider = Provider(self.signing_key, capabilities, authz_state, cdb,
Userinfo(self.user_db))
File "/opt/local/satosa/lib/python3.5/site-packages/pyop/provider.py",
line 71, in init
self.configuration_information.verify()
File "/opt/local/satosa/lib/python3.5/site-packages/oic/oic/message.py",
line 877, in verify
raise MissingRequiredAttribute("token_endpoint")
oic.oauth2.message.MissingRequiredAttribute: Missing required attribute
'token_endpoint'