Cura/cura/OAuth2
Remco Burema a25a51eddb
Windows workaround for OAuth data removal from config.
Windows won't allow long keys in the backend the keyring python package uses as a backend. This means the access_token part can't be stored in the obvious way. Timeboxed some attempts at working around this limitation, but couldn't make it work within the time set. As this is mostly an extra precaustion protecting users that share config folders around against themselves (in other words, if this goes wrong it's not unreasonable to blame the user) it's not top critical, and the important part of that (the refresh_token) can proceed, giving any potential attacker only a 10 minute window from the moment any user shares their %appdata%/cura files (again, this is not how we intent for users to behave, but they can and will do it this way).

CURA-7180
2020-12-24 14:39:22 +01:00
..
__init__.py Fix code style and documentation formatting 2019-02-08 11:10:43 +01:00
AuthorizationHelpers.py Ensure the organization_id is None 2020-11-04 09:21:28 +01:00
AuthorizationRequestHandler.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
AuthorizationRequestServer.py Fix Authorization server not properly stopping after flow completes. 2020-06-09 15:12:26 +02:00
AuthorizationService.py Windows workaround for OAuth data removal from config. 2020-12-24 14:39:22 +01:00
LocalAuthorizationServer.py Fix local authorization server crashing 2020-06-11 15:27:29 +02:00
Models.py Include all subscription information in the slice data 2020-10-14 11:43:22 +02:00