liveservices / LiveSDK-for-iOS

LiveSDK library for integrating with Live Connect
MIT License
138 stars 84 forks source link

For scope 'wl.offline_access' logout with [liveClient logout] completely from service, not just clear cookies #42

Open SanCHEESE opened 10 years ago

SanCHEESE commented 10 years ago

Currently logout is simply clearing cookies and not logging out from OneDrive.

If we grant access to app with scopes including "wl.offline_access" and after we call [liveClient logout], we can sign in again without entering password and granting access to app.

By removing scope "wl.offline_access" we need to grant access (press YES/NO in webView) for app every first upload/quiery/sign in operation after restarting the application.

Current behavior does not allow to use multiple accounts on one device. Only reinstalling the app helps to sign out completely.

Please, add/rewrite the method to logout fully.

Thanks in advance.

wangdxnum1 commented 9 years ago

In my code,it will happen sometimes,not 100%.But this bug is indeed exist.My English is poor,I hope you can understand me.Thank you!