I am making a Windows Store app that allows a user to sign in to their OneDrive account. I do this with the example code Windows provides here (with WL.init). That works fine. But, when I try to sign the user out with:
$(document).on('click', '#header', function () {
WL.logout();
});
I get the error:
[WL]Logging out the user is not supported in current session because the user is logged in with a Microsoft account on this computer. To logout, the user may quit the app or log out from the computer.
There has to be a way to sign out of the OneDrive account inside without making the user quit the app or log off their computer. Or am I wrong? It just doesn't seem user friendly to me.
Aucun commentaire:
Enregistrer un commentaire