Skip to content

bug: OneDrive refresh_token requires an offline_access scope #5775

@erickguan

Description

@erickguan

Describe the bug

OneDrive service can't get a refresh token.

Steps to Reproduce

Calling the endpoint results in:

2025-03-14T11:08:06.537397Z ERROR request{method=PROPFIND uri=/zotero/ version=HTTP/1.1}: opendal::services: service=onedrive name= path=/ listed=0: List::next failed Unexpected (permanent) at List::next => deserialize json

Context:
service: onedrive
path: /
listed: 0

Source:
missing field refresh_token at line 1 column 1627

Expected Behavior

It works

Additional Context

No response

Are you willing to submit a PR to fix this bug?

  • Yes, I would like to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions