skjiisa / Meme-Vault-SwiftUI

iOS App for organizing photos to cloud storage
BSD 2-Clause "Simplified" License
3 stars 0 forks source link

User cannot sign out or change account #1

Open skjiisa opened 4 years ago

skjiisa commented 4 years ago

Once a WebDAV account is signed in, it can't be signed out. Trying to sign into a different account doesn't work either.

skjiisa commented 4 years ago

This seems to be an issue with FilesProvider. I also tried using the official Nextcloud iOS communication library in the nextcloud-communication branch and it has the same issue. Must be some weird password caching that I can't figure out.

My best idea of how to alleviate the issue (though it wouldn't totally fix it), would be to manually check the login with a URL request before giving the credentials to WebDAV Provider, since doing so seems to store the credentials for the entire session.

skjiisa commented 4 years ago

Well I ended up just making my own WebDAV library instead.