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

tapis auth tokens refresh fails on expired tokens #340

Open
airswing opened this issue Aug 26, 2020 · 0 comments
Open

tapis auth tokens refresh fails on expired tokens #340

airswing opened this issue Aug 26, 2020 · 0 comments

Comments

@airswing
Copy link

Describe the bug
When I open Tapis CLI and try to refresh tokens, I get Failed to load Tapis API client. Run 'tapis auth init [--interactive]' to resolve this.

To Reproduce
Steps to reproduce the behavior:

~$ docker run --rm -it -v ${PWD}:/work -v ${HOME}/.agave:/root/.agave     tacc/tapis-cli:latest bash
🐮 tapis-cli:1.0.0@9af46da3deb3# tapis auth show
+---------------+--------------------------------+
| Field         | Value                          |
+---------------+--------------------------------+
| tenant_id     | designsafe                     |
| username      | username                       |
| api_key       | key   |
| access_token  | token |
| expires_at    | Tue Aug 25 18:29:38 2020       |
| refresh_token | refresh |
+---------------+--------------------------------+
🐮 tapis-cli:1.0.0@9af46da3deb3# tapis auth tokens refresh
Failed to load Tapis API client. Run 'tapis auth init [--interactive]' to resolve this.

Expected behavior
I expect a new access and refresh token pair

Desktop:

  • OS: Ubuntu 18.04
  • Versions 1.0.0 and 1.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant