Hello everyone,
I am configuring saml login and logout based on openwisp-wifi-login-page
and openwisp-radius instructions:
https://github.com/openwisp/openwisp-radius/blob/e7e8c76afd11bc23401000b0a21d29f703928fdf/docs/source/user
/saml.rst.
I am having the following problem. Can you show me how to solve it? Thank
you.
[ERROR 2021-11-06 21:31:34,893] module: log, process: 517427, thread:
140325495674752
Internal Server Error: /radius/saml2/login/
Traceback (most recent call last):
File
"/opt/openwisp2/env/lib/python3.8/site-packages/django/core/handlers/exception.py",
line 47, in inner
response = get_response(request)
File
"/opt/openwisp2/env/lib/python3.8/site-packages/django/core/handlers/base.py",
line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File
"/opt/openwisp2/env/lib/python3.8/site-packages/django/views/generic/base.py",
line 70, in view
return self.dispatch(request, *args, **kwargs)
File
"/opt/openwisp2/env/lib/python3.8/site-packages/django/views/generic/base.py",
line 98, in dispatch
return handler(request, *args, **kwargs)
File "/opt/openwisp-radius/openwisp_radius/saml/views.py", line 115, in
get
return super().get(request, *args, **kwargs)
File
"/opt/openwisp2/env/lib/python3.8/site-packages/djangosaml2/views.py", line
217, in get
configured_idps = available_idps(conf)
File
"/opt/openwisp2/env/lib/python3.8/site-packages/djangosaml2/utils.py", line
43, in available_idps
for metadata_name, metadata in config.metadata.metadata.items():
AttributeError: 'NoneType' object has no attribute 'metadata'
Best Reqard,
Hoa
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/openwisp/60972d81-e677-4735-9e83-2c85689683b1n%40googlegroups.com.