- Load the access token (app - loadToken)
- If that fails then we need to re-auth (app - authWithPocket)
- Load the consumer code (p2rm)
- Get a request token (p2rm)
- Redirect user to oauth url (app)
- Get the URL
- Start a local listener
- Give the user the URL
- Listen for a response
- Get callback from pocket (app)
- Convert request token into access token (p2rm)
curl "https://getpocket.com/auth/authorize?redirect_uri=localhost&request_token=REQUEST_TOKEN"
code:81fd2224-564a-7989-f0af-bcd6f5
Started working from here: https://github.com/splitbrain/ReMarkableAPI/wiki/Authentication
go get github.com/jacobstr/confer
go get github.com/mattn/go-sqlite3
go get github.com/jung-kurt/gofpdf