Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

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

Open
Thimoty44 opened this issue Mar 9, 2023 · 8 comments
Open

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

Thimoty44 opened this issue Mar 9, 2023 · 8 comments

Comments

@Thimoty44
Copy link

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
Copy link
Member

p1gp1g commented Mar 9, 2023

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

@Thimoty44
Copy link
Author

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
Copy link
Contributor

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

@Thimoty44
Copy link
Author

Thimoty44 commented Mar 9, 2023

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
Copy link
Contributor

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
Copy link
Author

Thimoty44 commented Mar 9, 2023

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

@Thimoty44
Copy link
Author

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
Copy link
Member

p1gp1g commented Mar 10, 2023

  • The test_script doesn't work with 2FA.
  • Using Nextcloud SSO (Nextcloud file login) must work with 2FA
  • Using manual login with an app password should work too

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants