-
Notifications
You must be signed in to change notification settings - Fork 42
Confusing file permission message after authentication (Windows/Mac) #249
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
Comments
Indeed, permission management on windows is a known issue: #198 The goal of #198 is to automatically set the right file permission on windows too, |
I wouldn't try to set the permissions at all on Windows (non-servers?) until a better solution may be implemented in #198. |
replaced the warning with INFO level logging (which is invisible by default) I'm not sure what to describe in the docs. Are you familiar with best practices on windows regarding files that might contain sensitive data (e.g. tokens)? |
I think the Windows best practice would be to not store it in a file (due to lack of good permission management), but instead, use the Windows Credentials Manager. But that won't help here, I guess. So, ideally, you should remove the file if it's a "shared" computer (similar to how cookies are erased on such computers after the Browser has been closed). But we don't know that, so maybe just give an option to "logout" and emphasize that this in the docs that this is important in case the computer is a "shared" / public one? |
a logout feature is an interesting idea -> #250 will close this ticket (about message that is not visible anymore) for now |
Uh oh!
There was an error while loading. Please reload this page.
When authenticating with OIDC on Windows (e.g,
connection.authenticate_oidc()
), you get the following warning after successfully running through the Device code flow:While this is true, it doesn't make a lot of sense to show this to Windows users. CHMOD is known by Linux users usually, but on other OS (primarily Windows, but I guess this may also be true for MacOS users) this is usually not known and very rarely used. So for the average Windows user, this is pretty confusing. Especially as these numbers are not used. You only get something like this on Windows:
The text was updated successfully, but these errors were encountered: