Skip to content

[Feature request]: Ability to paste OAuth callback URL when reauthing #152

@zorael

Description

@zorael

Suggestion

I have a Linux headless server running in a data center. It has a systemd timer backing up our Evernote contents once a week. Reauthing is difficult since I only have ssh access. What I have to do currently is to transfer the whole database to my local computer, then reauth, then transfer the modified database back to the server.

When you do a reauth, it outputs the URL to the OAuth authorisation screen that I should follow in case a browser was not automatically opened. It then starts a local web server and waits for the OAuth callback that the Evernote authentication progress initiates. The authorisation token is derived from the URL that was accessed (through the web server).

Can I just have the ability to just paste the URL please?

The order of events would then be;

  1. On server in an ssh session: evernote-backup reauth
  2. Select and copy URL from output
  3. On the local computer: paste URL into a web browser
  4. Log in and authorise
  5. Copy OAuth callback URL that I was redirected to
  6. On server in the ssh session: paste and hit enter
  7. reauth complete

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions