UP-NextPush / server-app

UnifiedPush provider for Nextcloud - server application - Moved to https://codeberg.org/NextPush/uppush
GNU Affero General Public License v3.0
67 stars 8 forks source link

Notifications don't work with account with 2FA #33

Open Thimoty44 opened 1 year ago

Thimoty44 commented 1 year ago

Good morning I made test with the script for matrix gateway and sync and It work until the last step for receive the notification on my account with 2FA. But when I try on a user without 2FA there is not problem with the script I can reach the last step and receive notification. I tried trigger notification on my account with 2FA I receive notification in nextcloud but not on the phone (I registred my phone with Nextpush and UP-example). So I think there is an issue with 2FA. I made that test with a Google Pixel 7 using a forked Android called CalyxOS.

Have a nice day guys !

p1gp1g commented 1 year ago

Which version of the server app and android app do you use ?

Thimoty44 commented 1 year ago

I curently use the server version : 1.2.0 on Nextcloud 25.0.4 For the client on Android I am using Nextpush 1.5.0 from Fdroid I use too UP-Example from Fdroid version1.5.3 for register

provokateurin commented 1 year ago

2FA for what account? For the Nextcloud account you use to receive notifications?

Thimoty44 commented 1 year ago

On every account I got the notification in Nextcloud but the pushed notification throught the nextpush don't show with a Nextcloud account who got 2FA configured but it work on Account without 2FA I also registred my phone with the 2FA account

provokateurin commented 1 year ago

I use NextPush with a Nextcloud account that has 2FA configured (I used TOTP codes to login on my phone) and it works just fine. I don't see a good reason why it would fail for accounts with 2FA.

Thimoty44 commented 1 year ago

I logged via the nextcloud application do it change something ? Maybe ? on the nextpush app on android

Thimoty44 commented 1 year ago

I got the following config client side : https://zupimages.net/viewer.php?id=23/10/kjy8.png https://zupimages.net/viewer.php?id=23/10/ia4u.png https://zupimages.net/viewer.php?id=23/10/l3xn.png

Server side I used ur script look screen : https://zupimages.net/viewer.php?id=23/10/h02w.png

Thimoty user have 2fa and robot no

p1gp1g commented 1 year ago

Also, it looks like your setup is fine. UP-Example works isn't it ?