Closed domanchi closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this issue automatically because it has not had any activity since it has been marked as stale. If you think it is still relevant and should be addressed, feel free to open a new one.
Checklist
Feature Request
pyrh.cache.dump_session
is a useful feature to serialize the user's access_token and refresh_token, so that every invocation of the script does not require an active login attempt. Currently, it is formatted as such:This is not ideal. Since OAuth tokens are already present, the user's
username
andpassword
fields should not be in this payload, as they are no longer needed. Furthermore, even though arefresh_token
is akin to account access, it is riskier to have passwords in plaintext due to credentials stuffing attacks.Please remove these fields from this output.