Can not add user to database

Hello guys,
Good day

I have been installed privacyidea and very appreciate for installed it. I want to add user to sql database but i couldn’t add user to database. I got some error of code from privacyidea.log file.
The error log is : privacyerror AttributeError: ‘str’ object has no attribute ‘items’

Thank you guys,
Have a nice day

I solved the problem. I configured string attribute on mapping field. So python couldn’t do for loop on string. I configured dictionary attribute on mapping field then problem has gone.

1 Like

That’s right. You need to configure a so called dictionary in the “MAP” attribute, which is depicted here in the docs:

1 Like