Repository navigation
Conversation
|
@theScrabi there are several comments in the code, is this ready to review? |
339fe73 to
9815486
Compare
|
Code approved, ready to pass QA @jesmrec |
(1)Steps:
Current: List of accounts again displayed. A second tap will redirect to the file list tested with Samsung Galaxy S7 |
|
i guess there is no way to distinguish this 401 scenario (removed account) to other 401 ones. So, the user is suddenly redirected to the accounts list and he/she does not know why (for example, if the server admin removes the account). Is it correct @theScrabi ? CC @davigonz |
|
Is there no extra information in the response to distinguish 401 when removing an account from other scenarios? |
|
Removing account in web UI, getting 401 from webdav endpoint: and for ocs Same error is received if the user changes password in webUI. In case of OAuth2 token removal: At this point we are in the middle of an UX crossroad.
A solution "in the middle": show a toast/snackbar pointing to a credentials error, or showwing the message included in the body response. This would be the same solution as before, but giving the user directly the option to choose other account in his list o create a new one. This message is not very accurate, but it is better than show nothing. What do you think? |
If we don't have more information from the server, I would go for the first option, show a toast/snackbar pointing to a credentials error. |
|
I take car about it. |
|
I got another odd error. If you have an basic auth an an oauth account, and you remove the oauth one from the web and switch to the basic auth you will get this error:
@jesmrec I din't know if this is what you reported, but for me this looks like a different error. PS: It does not happen if you have two basic auth accounts, and delete one of them. |
|
All right the last bug I posted #2175 (comment) is not related to this issue. Like @davigonz pointed out this error also occures if you just switch form an oauth to a basic auth account without deleting the oauth account |
|
From the point of view of basic auth and OAuth2 it works correctly. Needs to be checked with SAML in order to know what happens when the SAML session expires. |
|
Approved for basic and OAuth2, so it is ready to be used for used in Play Store |


fixes #1825
BUGS & IMPROVEMENTS