Skip to content
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

Improve error message when new auth token is required due to 30-day timeout #48

Open
eba99 opened this issue Aug 5, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@eba99
Copy link
Collaborator

eba99 commented Aug 5, 2022

Describe the bug
Error message after auth token timeout is unclear: "Exception: Cannot get new token: {"error":"invalid_grant","error_description":"Token is not active"}"

To Reproduce
Steps to reproduce the behavior:

  1. Open Terminal
  2. Enter command: >comotion authenticate -o organisation name
  3. Log in to organisation's dash through comoauth
  4. Wait 30 days (or edit token timeout settings)
  5. Once authentication is complete, open terminal again and enter command: >comotion -o organisation name dash download "select 1"
  6. See error message

Expected behavior
More clear error message, e.g. 'Your authentication token has expired. Obtain a new token with the following command: >comotion authenticate -o organisation name"

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Microsoft Edge
@eba99 eba99 added the bug Something isn't working label Aug 5, 2022
@timalive
Copy link
Collaborator

timalive commented Aug 5, 2022

Thanks @eba99

@timalive timalive added the enhancement New feature or request label Aug 5, 2022
@timalive timalive removed the bug Something isn't working label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants