How To Implement MFA in Chatwoot?
-
I'd like to implement MTA/2FA in Chatwoot and I already followed this instruction:
https://developers.chatwoot.com/self-hosted/configuration/multi-factor-authentication
However, the security setting is not available. Have you experience this setup?
-
I'd like to implement MTA/2FA in Chatwoot and I already followed this instruction:
https://developers.chatwoot.com/self-hosted/configuration/multi-factor-authentication
However, the security setting is not available. Have you experience this setup?
@IniBudi Which part isn't working? Just tried it out and worked perfectly.
- Go to the web terminal of your Chatwoot application
- enter
rails db:encryption:init - Save the strings that is being displayed
active_record_encryption: primary_key: string deterministic_key: string key_derivation_salt: string- Go to the file manager of the application
- Open the
env.shfile - add these records (replace
stringwith the values from the previous prompt)
# Active Record Encryption keys (required for MFA/2FA functionality) # Replace with the actual keys from rails db:encryption:init output export ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=string export ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=string export ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=string- restart the app
- now you can set up 2FA in the user settings.
-
@IniBudi Which part isn't working? Just tried it out and worked perfectly.
- Go to the web terminal of your Chatwoot application
- enter
rails db:encryption:init - Save the strings that is being displayed
active_record_encryption: primary_key: string deterministic_key: string key_derivation_salt: string- Go to the file manager of the application
- Open the
env.shfile - add these records (replace
stringwith the values from the previous prompt)
# Active Record Encryption keys (required for MFA/2FA functionality) # Replace with the actual keys from rails db:encryption:init output export ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=string export ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=string export ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=string- restart the app
- now you can set up 2FA in the user settings.
@andreasdueren thank you Andreas, it works perfectly.
I think it's different code with the tutorial that come from here https://developers.chatwoot.com/self-hosted/configuration/multi-factor-authentication:
# Active Record Encryption keys (required for MFA/2FA functionality) # Replace with the actual keys from rails db:encryption:init output ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=EGY8WhulUOXixybod7ZWwMIL68R9o5kC ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=aPA5XyALhf75NNnMzaspW7akTfZp0lPY ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=xEY0dt6TZcAMg52K7O84wYzkjvbA62HzWhen I tried your code, now it appears on my dashboard:
# Active Record Encryption keys (required for MFA/2FA functionality) # Replace with the actual keys from rails db:encryption:init output export ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=string export ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=string export ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=stringNow, I can see the 2FA option.
Thank you...
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login