YunoHost-Apps / kresus_ynh

Kresus (personal finance manager) for YunoHost
https://kresus.org/
GNU Affero General Public License v3.0
20 stars 20 forks source link

CIC bank: Can't enter sms code #45

Closed Stefal closed 4 years ago

Stefal commented 4 years ago

Hi! I'm using Kresus 0.15.2 with a CIC bank account and weboob 1.5. Since a few months, a code is requested to access the account. Kresus seems to manage this, but inside Yunohost there is no way to enter it. So the sync failed. Did I forget something ?


2019-12-18 10:01:26,063:WARNING:weboob.cic.browser.mobileconfirmationpage:pages.py:116:on_load This connexion cannot bypass mobile confirmation

[2019-12-18T10:01:26.181] [INFO] sources/weboob - Command returned an error code.
[2019-12-18T10:01:26.185] [INFO] sources/weboob - Checking that weboob is installed and can actually be called…
[2019-12-18T10:01:26.185] [INFO] sources/weboob - Calling weboob: command test...
[2019-12-18T10:01:26.631] [INFO] sources/weboob - exited with code 0.
[2019-12-18T10:01:26.632] [INFO] sources/weboob - OK: weboob exited normally with non-empty JSON content.
[2019-12-18T10:01:26.633] [ERROR] sources/weboob - Got error while running command "operations": Unknown error: Mobile authentication method not handled```
bnjbvr commented 4 years ago

Hi there! It's likely to be a Kresus error, actually, not related to YNH. Are you requested a manual validation through a mobile app, or do you need to enter a code on the bank's website, that's sent by SMS or through an app? The former should be handled by letting you a couple minutes to validate through the app, the latter has not been implemented yet.

Stefal commented 4 years ago

I receive the code through a sms, and I need to enter it on the website, but there is no way to enter this code via Kresus contrary to what I've read here: https://kresus.org/blog/kresus-version-0-15-0.html#support-des-champs-optionnels

bnjbvr commented 4 years ago

Optional fields are different thing. Yeah you need to wait for proper 2FA support in Kresus. Can't tell when this is going to happen, since most of us developers don't require it to have our bank accounts working properly right now... (I'm in the app validation case, so things are a bit simpler for me.)

Stefal commented 4 years ago

Ok, I understand. I didn't want to use the app way as I hate to have to install their own app when there are open 2FA solutions but it seems I'm going to have to.

BTW: Thanks for your work on Kresus!