windows-universal icon indicating copy to clipboard operation
windows-universal copied to clipboard

Login is not working properly

Open togglecode opened this issue 8 years ago • 3 comments

If you look at the comments in NextCloudClient.cs file, it is written

Only using a HEAD request doesn't seem to work, because in subsequent calls (with wrong user/password), the server always returns HTTP 200 (OK).

But this problem still exists, try the following:

  1. Login with your Username password
  2. reset the app
  3. login again but this time write a wrong password instead
  4. the app lets you log in

togglecode avatar Mar 17 '17 10:03 togglecode

I think this was fixed with https://github.com/nextcloud/windows-universal/issues/50 Can you provide any more details?

What I've tried:

  • log in with correct user/pass
  • reset the app
  • log in with wrong user/pass --> seems to work, I receive an error message.

DecaTec avatar Mar 17 '17 17:03 DecaTec

@DecaTec Well for me it does not. Maybe we have different servers? I am trying this scenario on demo.nextcloud server.

first I login with user "admin" and password "admin"

abc

Status comes back ok.

Then I reset the app, login again with user "admin" and some random password. ac

status comes back ok again. You can try it yourself with my account.

server address: https://demo.nextcloud.com/testcloud username: admin passowrd: admin

togglecode avatar Mar 20 '17 13:03 togglecode

I've tried exact the same thing with https://demo.nextcloud.com/testcloud. After resetting the app and logging in with 'admin' and wrong pass, I'll get an HTTP 401 error. I've build from latest source.

DecaTec avatar Mar 20 '17 16:03 DecaTec