microsoftgraph / msgraph-sample-angularspa

This sample demonstrates how to use the Microsoft Graph JavaScript SDK to access data in Office 365 from Angular single-page applications.
MIT License
63 stars 52 forks source link

After Logging In it is showing #34

Closed ashutoshtripathi289 closed 3 years ago

ashutoshtripathi289 commented 3 years ago

Thank you for taking an interest in Microsoft Graph development! Please feel free to ask a question here, but keep in mind the following:

ashutoshtripathi289 commented 3 years ago

{ "errorCode": "token_renewal_error", "errorMessage": "Token renewal operation failed due to timeout.", "name": "ClientAuthError" }

ashutoshtripathi289 commented 3 years ago

I have provided the corrrect application ID, is this error showing because I do not have office 365 account.

jasonjoh commented 3 years ago

Do you have a personal Microsoft account? It should work for that as well. You can rule out an issue with your account by going to Graph Explorer and trying to sign in there.

ashutoshtripathi289 commented 3 years ago

Hi @jasonjoh I have a working Microsoft account. Still I am facing the same issue.

jasonjoh commented 3 years ago

Does it happen immediately after you login, or is after an hour or so?

I very recently updated this sample to use MSAL Angular 2.x, which has fixes to address this error. I don't know if that's exactly what you're seeing, but you should download the latest code and see if you have better luck with it.

ghost commented 3 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.