kristofa / bookmarker_for_pinboard

macOS Safari App Extension that supports adding bookmarks to pinboard.in
Other
37 stars 4 forks source link

Update API Token button doesn't accept the correct token #5

Closed roosterboy closed 5 years ago

roosterboy commented 5 years ago

I followed the instructions from the wiki and when I clicked the Update API Token button, I got a message that says: "Invalid API token format. Expecting username:TOKEN"

I copied the token exactly as it appeared at https://pinboard.in/settings/password

I figured out how to fix it when I noticed that "TOKEN" was all caps in the error message. When I changed the token provided to me by Pinboard—which was a mix of lowercase letters and numbers—to uppercase, it worked.

The application should accept the API token in the format provided by Pinboard.

syrabo commented 5 years ago

I have the same

kristofa commented 5 years ago

Thanks for letting me know both @roosterboy and @syrabo. I'll update the format check soon.

kristofa commented 5 years ago

I submitted a new version (1.2) which includes a fix for this bug to the App Store for review. I expect it to become available in the next days. The new version also allows lower case characters in API tokens values.