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

Facilitate re-authentication for 'configure' command #43

Open
MShekow opened this issue Sep 6, 2023 · 0 comments
Open

Facilitate re-authentication for 'configure' command #43

MShekow opened this issue Sep 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@MShekow
Copy link
Contributor

MShekow commented Sep 6, 2023

At the moment, if the authentication (or authorization) for a calendar stops working (examples: a) the CalDAV password has changed; b) for Outlook 365, the client PC was offline for over one month, invalidating the OAuth refresh token), the user has to repeat the entire configuration process.

Instead, calendar providers should throw a specific exception that indicates that the authz/authn has become invalid, allowing the user to re-authenticate. A set of sensibly-chosen parameters should be re-used (e.g. O365 Client ID, or CalDAV username), offering them as default values, but still allowing the user to change them.

When the user then runs the configure command again, they are allowed to fix only the calendar authentication.

@MShekow MShekow added the enhancement New feature or request label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant