-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]2FA problem: Does not take authorization in the first go #4508
Comments
Additional remark: This behaviour is only exhibited if the authorization gets refreshed. When you delete the account and set it up from scratch, the app will take the authorization in the first attempt! |
So, you have 2FA with an external OTP. The process finishes, but, you see an "expiration" message on the bottom of the screen that prompts you to a second authentication. Maybe this is related with #4332 My guess is that the granted token is not correctly used in the first requests under a race condition It'd help to know which kind of server and version are you using. If you type in your web browser the server URL following with For example: Thanks a lot for reporting! |
{ |
@hman2 are all those fields (product, productname...) empty or any problem with copy/paste?, these are the key fields :( |
Info from our company admins: Server version is 10.15. The output I quoted is what the browser (MS Edge via internal network connection) presented to me. |
Ok, so it's an oC10, thanks. We'll review. Also, if you can attach logs (you'll find in settings -> logs), it could help to clarify. |
Hm, there is no settings -> logs. There is a protocol feature, is that what you mean? It's not under More or Advanced... Or are you talking about the backend? I don't have access, all I can do is ask our admins... |
In the mobile app, by clicking on the top left icon (hamburger icon), the side menu is open. Then, select |
Actual behaviour
-When you authorize using 2FA (here: via Free OTP) you have to perform the authentication procedure twice.
Expected behaviour
-The app should accept the authorization the first time it is presented
Steps to reproduce
Can this problem be reproduced with the official owncloud server?
(url: https://ocis.ocis.master.owncloud.works, user: einstein, password: relativity)
Haven't tried so far.
Environment data
Android version:
10 (AOSP, Fairphone Open OS 23.02.0-rel.0 (latest version)
Device model:
Fairphone 2
Stock or customized system:
AOSP, but officially supported the manufacturer of the phone (Fairphone).
ownCloud app version:
4.4.1 (latest) - but this behaviour was also present on the two previous versions
ownCloud server version:
unknown (hosted by my employer).
Logs
Web server error log
ownCloud log (data/owncloud.log)
The text was updated successfully, but these errors were encountered: