Your access token has expired. Please renew it before submitting the request.当我呼叫https://graph.windows.net/myorganization/oauth2PermissionGrants?api-version=1.5端点时,我正在接收.
为了防止任何愚蠢的问题 - 是的,我知道Microsoft Graph建议使用而不是Azure AD Graph.我知道它,我正在使用它.但对于我目前的情况,我需要完全要求Azure AD Graph.
测试案例:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=....并获得code响应.code并继续access_token前进https://login.microsoftonline.com/common/oauth2/v2.0/token.Microsoft Graph端点发出请求(即https://graph.microsoft.com/education/me/classes).https://graph.windows.net/myorganization/oauth2PermissionGrants?api-version=1.5.Authentication_ExpiredToken Your access token has expired. Please renew it before submitting the request.Microsoft Graph端点发出请求,因此它access_token是有效的.根据这篇文章:https://docs.microsoft.com/azure/active-directory/develop/active-directory-appmodel-v2-overview,我可以使用此访问令牌来访问Microsoft Graph API以及Azure AD …
gsiGoogle很久以前就引入了新的 Sign In JS 库( ),但 Google Sheets 文档仍然显示了使用gapi. 将gapi 与gsi 结合/替换的最佳方法是什么?我可以举个例子吗?
javascript google-sheets google-api-js-client google-identity