forked from jeffkowalski/geeknote
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prompt for developer token when login fails
This is a reaction to jeffkowalski/geeknote jeffkowalski#89. Evernote has revoked geeknote's API credentials, and for now at least it's necessary for each user individually to use a personal developer token. It's only necessary to provide it once, via environment, but that's still somewhat buried. This update detects when the OAuth temporary token api call fails, and prompts for a developer token. Once user has entered one, it's retained in the client settings database and doesn't need to be provided again.
- Loading branch information
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters