kapadia / usgs

Client library for interfacing with USGS datasets
http://kapadia.github.io/usgs/
ISC License
109 stars 38 forks source link

Should the "save" argument to login be enabled by default? #68

Open coreyryanhanson opened 1 year ago

coreyryanhanson commented 1 year ago

The behavior of the M2M API recently changed where if you try to login using an invalid or expired token, there will be an error message. The login will by default supply old tokens to the request with the .usgs file saved in the home folder (when the save argument during login = true). This will result in an error being raised to the end user saying that their authentication has been revoked and with the new change may be more confusing than it's worth if the behavior of the M2M api remains this way.