Skip to content

Feature Request: Log when manual Authorization is required when using --auth-files #2475

Closed
@OscarVanL

Description

Is your feature request related to a problem? Please describe.

Sometimes when my onedrive container is restarted it gets stuck at:

Initializing the OneDrive API ...
Configuring Global Azure AD Endpoints
Using Curl defaults for all HTTP operations

becuse it is waiting for me to re-auth via the authUrl and responseUrl files.

In this scenario, I'd like to alert myself that I need to re-auth, however when the client restarts and doesn't need to re-auth these logs still get output.

This makes it hard for me to (from machine-parsing logs) differentiate between a restart scenario that needs to be re-authed or a restart scenario that does not require re-authing.

Describe the solution you'd like

Output something like: Client requires authentication before proceeding when the client requires manual re-authing that I can grep for.

Describe alternatives you've considered

Instead alerting on the absence of the message "Sync with OneDrive is Complete" for a few hours

Additional context

No response

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions