Skip to content
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

Do not add bearer authorization for pre-authenticated download URLs. #15829

Merged
merged 1 commit into from Apr 16, 2024

Conversation

dkocher
Copy link
Contributor

@dkocher dkocher commented Apr 15, 2024

For some endpoints requests to download content that include bearer authentication fail with 403.

Preauthenticated download URLs are only valid for a short period of time (a few minutes) and don't require an Authorization header to download. 1

Footnotes

  1. https://learn.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=http#response

@dkocher dkocher added the onedrive OneDrive Protocol Implementation label Apr 15, 2024
@dkocher dkocher added this to the 8.8.3 milestone Apr 15, 2024
@dkocher dkocher requested a review from a team as a code owner April 15, 2024 13:41
> Preauthenticated download URLs are only valid for a short period of time (a few minutes) and don't require an Authorization header to download.
@dkocher dkocher merged commit 1508c37 into master Apr 16, 2024
6 checks passed
@dkocher dkocher deleted the bugfix/MD-21270 branch April 16, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
onedrive OneDrive Protocol Implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants