Problems with accounts that use two factor authorisation?
Can somebody confirm if Sailfish Is can handle accounts that are using two factor authorisation? I had sync problems with my Caldav/Carddav an Nextcloud while TFA was turned on (didn't try it again with TFA under actual SFOS 3.3). I also have problems sharing pictures to OneDrive an can't see them in the gallery, and I also use TFA for OneDrive...
May activated Two Factor Authorisation be the reason for sync problems?
can't test yet as I'm still on 3.2.1. but using device specific passwords, as advised for 2FA, works fine for DAV. Why should that change for the new Nextcloud integration? if I understand it well, SFOS doesn't care or know about 2FA. If the password it gets works, syncing should too.
There was or is one issue with the DAV sync though (both calendar and contacts) that causes write operations to fail after a certain time. Maybe i can dig up the TJC thread it was described in.
rozgwi ( 2020-04-14 13:07:30 +0200 )editFor me until now that meant recreating the account every few months. Otherwise changes or new appointments/contacts won't be written anymore to the Nextcloud server. Is that the problem you're facing that's specific to enabled 2factor?
Oh yes, while I had TFA active I had the problem you described that calendar changes weren't synced. I thought TFA was responsible for that cause I just set that up shortly before. I deleted the account, but after after that I didn't work anymore at all (and yes, I used a new application password for that case) - no contact or calendar was synced. So I cancelled TFA - and got back my contacts and just two from eight of my calendars with calendar sync not working (these two calendars stayed empty).
With SFOS 3.3 I deleted the old Caldav/Carddav account - nextcloud seems to work well now, syncing goes on as expected both ways.
I'll give TFA a second try now with nextcloud. Thanx so far - and it seems my OneDrive problem has another reason.
Cryx ( 2020-04-14 14:13:55 +0200 )editWhat you describe makes me wonder if the problem with writing to the DAV server is maybe related to 2FA. in fact, I never change passwords but reuse the device specific ones I generated in Nextcloud when recreating the account on Sailfish.
rozgwi ( 2020-04-14 17:44:39 +0200 )editas said, in general it works but after a few months it starts having hiccups. the time it takes varies though