Added better error handling for oauth2 invalid_grant
error
we have added better error handling for the oauth2 invalid_grant
error. Now, whenever this error is encountered, Granted automatically clears the cached token and sends a message like:
[i] It looks like the above error was caused by an invalid authentication token. We have cleared the token from your keychain. To re-run the command, you'll need to authenticate again by running: 'granted login https://d3h0e9z8klkkkk.cloudfront.net/'
What's Changed
- Improve oauth2 error handling for Glide authentication by @shwethaumashanker in #596
- Update service_map.go to add codeartifact, codesuite and codecommit by @wayne-folkes in #594
Full Changelog: v0.20.6...v0.20.7