Skip to content

Automatically log in if my token is expired #43

Open
@bartTC

Description

@bartTC

Right now, if your auth token is expired, you learn that via a message. I don't need the extra step, I don't see why you won't want to login at this point.

So this:

❯ apppack config list -a sampleapp
⚠ unable to refresh auth token {"error":"invalid_grant","error_description":"Unknown or invalid refresh token."}
ℹ Reauthenticate this device by running: apppack auth login

❯ apppack auth login
Your verification code is MRJL-VJLX
Finish authentication in your web browser...
✔ Logged in as [email protected]

Should become:

❯ apppack config list -a sampleapp
⚠ unable to refresh auth token {"error":"invalid_grant","error_description":"Unknown or invalid refresh token."}

ℹ Reauthenticate this required. Please login in your webbrowser.
Your verification code is MRJL-VJLX
Finish authentication in your web browser...
✔ Logged in as [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions