enable supportsRefreshToken for onedrive (#6035)

fixes #5995
This commit is contained in:
Mikael Finstad 2025-10-27 16:33:57 +08:00 committed by GitHub
parent 86f353d2fe
commit 5edcb2e885
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@uppy/onedrive": patch
---
Fix: Enable `supportsRefreshToken` for OneDrive

View file

@ -89,7 +89,7 @@ export default class OneDrive<M extends Meta, B extends Body>
companionCookiesRule: this.opts.companionCookiesRule,
provider: 'onedrive',
pluginId: this.id,
supportsRefreshToken: false,
supportsRefreshToken: true,
})
this.defaultLocale = locale