Thank you very much. I will learn more about it.

Regards,
Hoa

Vào lúc 03:00:39 UTC+7 ngày Chủ Nhật, 7 tháng 11, 2021, 
[email protected] đã viết:

> It seems your django settings miss key configuration needed to configure 
> the SAML Single Sign-On.
> Please refer to the documentation of djangosaml2 
> <https://djangosaml2.readthedocs.io/contents/setup.html#configuration>.
>
> Best regards
> Federico
> On Saturday, November 6, 2021 at 10:04:03 AM UTC-5 [email protected] 
> wrote:
>
>> 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/6030b89b-70e2-4381-9b33-9d9835203c7an%40googlegroups.com.

Reply via email to