Closed Team1-epat closed 4 months ago
Hi, looks like you need to run the migration to add the user_security_totp
table.
See the section of the readme here: https://github.com/data-govt-nz/ckanext-security?tab=readme-ov-file#how-to-install
Looking at your ckan.ini file above it looks like you may be expecting that you don't have to run that migration?
The config setting ckanext.security.enable_totp = false
only exists on a unmerged branch at present, there is no way to disable the Two Factor Auth in the 4.0.0 tag.
I've just released a new 4.1.0 version with the ckanext.security.enable_totp
config option, this should prevent the need to run that ckan security migrate
as the login flow shouldn't hit the SecurityTOTP class anymore.
Hi, thank you, it is working fine for my side
Hi,
I am currently using ckan version 2.10 and successfully setup the ckanext-security (with tag 4.0.0), after that, I used the ckan website to create a new account called tester1.
I tried to use tester1 to login in the ckan website, and couldn't login, so I went to the docker console and attached the log as below.
will someone please advise how can I fix the issue at my end?
I tried to put the same configuration in the who.ini
As for the ckan.ini, I only configured those that I think I need. Not very sure if I did it wrongly or not.