You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Always when I run application, it's opening page in browser with Microsoft login page. The same behaviour with both auto login on and off. Should it be like that? I hope there is a way to login without any user interaction.
The text was updated successfully, but these errors were encountered:
Because of auth policy of Microsoft(first diagram), there must be at least one user interaction.
But I found a library that support caching the signin info.
I think if caching saves its info into file, fallowing signin can be done silently for same user.
Another way is sdk provide signin url and user past the url into browser and copy resulting auth info from browser to terminal.
By the way, name of autoLogin parameter is my mistake. What I meant was actually 'construct with signin'. I think I should change the name. 😢
Persisting and setting the refresh token should do the trick, however, getRefreshToken() on the Client instance always returns null in my environment (maybe it's related to OneDrive Business which I'm using?).
Always when I run application, it's opening page in browser with Microsoft login page. The same behaviour with both auto login on and off. Should it be like that? I hope there is a way to login without any user interaction.
The text was updated successfully, but these errors were encountered: