如何获取访问令牌以从OneDrive下载文件 [英] How to get the access token to download the file from the onedrive
问题描述
"{" error_description":无效的签发者或签名."}"
任何人都可以帮助我进行一步验证和访问onedrive中文件的步骤吗?
您好,
请使用以下REST URL访问文件并使用SharePoint身份验证.
https://YourO365DomainHere-my.sharepoint.com/personal/YourUserName_YourO365DomainHere_onmicrosoft_com/_api/web/GetFileByServerRelativeUrl('/personal/YourUserName_YourO365DomainHere_onmicrosoft_com/Documents/Shared/x%20one%20%). blockquote>
值更多信息在这里:
或在以下官方文档中检查OneDrive for Business身份验证:
https://dev.onedrive.com/auth/aad_oauth.htm
最好的问候,
we are using the Rest api to access the file details and download from the One drive,when we use the Sharepoint accesstoken or graph api access token we are receving the following error
"{"error_description":"Invalid issuer or signature."}"
So can anyone please help me on steps for authenticating and accessing the files in onedrive ?
解决方案Hi,
Please access the file using the following REST URL and use SharePoint authentication.
https://YourO365DomainHere-my.sharepoint.com/personal/YourUserName_YourO365DomainHere_onmicrosoft_com/_api/web/GetFileByServerRelativeUrl('/personal/YourUserName_YourO365DomainHere_onmicrosoft_com/ Documents/Shared%20with%20Everyone/myDocument.docx')/
valueMore information is here:
Or check the OneDrive for Business authentication in the following official document:
https://dev.onedrive.com/auth/aad_oauth.htm
Best Regards,
这篇关于如何获取访问令牌以从OneDrive下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!