-
-
Notifications
You must be signed in to change notification settings - Fork 868
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
Feature Request: Log when manual Authorization is required when using --auth-files #2475
Comments
@OscarVanL
and
It would be worth checking your logs for these messages as they certainly will be printed when the application is advised by the OneDrive API that the existing authentication items are no longer valid - so it should have given you the heads up that the values were invalid. This being said, there is potentially a gap here that I can see and from what you have pointed out. I will potentially look at this during the the development of v2.5.0 alpha-1 - I am not going to validate any more features and/or additional items with where I am at currently with v2.5.0 alpha-0. |
Thanks, I'll wait for it to next get de-authed and have a look for that error in my logs. I hadn't noticed it before, but maybe I was not being observent enough. |
@OscarVanL In this version, when the client is waiting for the auth-files to be present, the following will be presented:
|
@OscarVanL |
Please can you test the following PR as part of 'onedrive client version v2.5.0-alpha-3' to potentially resolve your issue:
To run the PR, you need to run the client from the PR build directory:
When running the PR, your client version should be: |
Sorry, I can't see a build directory after checking it out. I tried building, but couldn't get it to work. |
Closing this issue and marking as implemented in v2.5.0 alpha series of code |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is your feature request related to a problem? Please describe.
Sometimes when my onedrive container is restarted it gets stuck at:
becuse it is waiting for me to re-auth via the
authUrl
andresponseUrl
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
The text was updated successfully, but these errors were encountered: