cjoudrey / cjoudrey/md2medium

Clear config when access tokens are invalid

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Go
Stars
25
Forks
3
PR merge metrics
No merged PRs in 30d

Description

**Steps to reproduce:**

- Setup `md2medium` with valid API tokens.
- Revoke an API token.
- Run `md2medium` and you will see a `401` error.

When this happens we should clear the token from the config file such that the next time `md2medium` is run the user will be prompted for a token again.

Even better, we could prompt the user for a new token when the `401` happens.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.