I'm trying to connect to outlook IMAP using OAuth2 under android however I'm struggling a bit with how to implement it. the AccountManager.getAuthToken(account, authTokenType, null, activity, callback, null) returns a null token, so I could not go further.
Thanks in advance.