-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token expires but still flagged as valid #5
Comments
Hi @sladomic , I logged in to the mobile application(iOS and Android) using email and password. try {
I am getting access token expiry error and unable to fetch data from Graph-API.(https://graph.microsoft.com/v1.0/me/) I have used 0.1.6 version of this repository. Below is the response i will get after 1 hour of background or killing the app and open |
@yugandh with version 0.1.6 it should have been fixed, at least for my devices (Android & iOS) it works. Can you do a fresh install or try a logout (oauth.logout()) to force the removal of old tokens stored in Keystore / Keychain? |
Hi @sladomic, After oauth.logout() it will work. But every time it will ask to enter user name and password to authenticate, after token expiry every 60 minutes. Just know i pushed one commit in to the below branch, you can pull that branch give your microsoft credentials, it will fetch response for the first time and after 60 minutes it will give access token expiry error. master...yugandh:Test-Microsoft-Graph-API One more question after every 60 minutes i am getting same access token, instead of new token. |
Description:
Expected Result:
Actual Result:
Additional Information
The text was updated successfully, but these errors were encountered: