ok, i change the URI and it seems to be ok now...
I think that deconnexion don't work
No answer ?
This most likely happens because you are still logged in for OneDrive in the browser. Therefore tokens are automatically provided without the need of logging in first.
The solution is to force a log out with the Logout call.
Logout has no effect :(
I have not been able to reproduce this issue.
Can you please provide the following information?
Storage.Logout runs in Windows (your demo project)
I have now been able to reproduce the issue. The issue is caused by an incompatibility between the internal browser and the API service. To avoid this the ExternalBrowser property has been implemented for the TTMSFMXOneDrive component (this property is already available for some other services like DropBox and GDrive). This way the authentication occurs in an external browser window and you can manualy log out by starting the browser seperately from the application.
The update will be available with the next release of TMS FMX Cloud Pack.
Bart Holvoet2020-01-29 13:34:04
The last release of TMS FMX Cloud Pack with ExternalBrowser to True don't work.
Did you try to log out of your OneDrive account from the browser?
I have the same code with Drive, OneDrive et DropBox.
But did you try to perform a logout?
Yes of course
Please note that Logout will have no effect when ExternalBrowser is set to True. You would have to logout from your Microsoft account from the browser window.
Different services use different behaviour and different techniques to persist data in their pages, unfortunately we have no control over this.