Ranchero-Software / NetNewsWire

RSS reader for macOS and iOS.
https://netnewswire.com/
MIT License
8.43k stars 534 forks source link

Inconsistent error messages for invalid credentials when adding accounts #2902

Open simon--taylor opened 3 years ago

simon--taylor commented 3 years ago

Version 6.0b3 (6023)

Different error messages are shown for invalid credentials depending on the account type added in the preferences.

When invalid credentials were entered for Feedbin the API returned HTTP Basic: Access denied. and the dialog showed the message "Invalid email/password combination."

When adding accounts for The Old Reader, Inoreader, BazQux and NewsBlur the error message "Network error. Try again later." was shown.

In my testing the following messages were returned by the APIs.

Account Reply
The Old Reader Error=BadAuthentication
Inoreader Error=Wrong username or password
BazQux Error=BadAuthentication

NewsBlur replied differently depending on whether the username or password was wrong.

For an incorrect username:

{
    "authenticated": false,
    "code": -1,
    "errors": {
        "__all__": [
            "That username is not registered. Please try again."
        ]
    },
    "result": "ok"
}

For an incorrect password:

{
    "authenticated": false,
    "code": -1,
    "errors": {
        "__all__": [
            "Whoopsy-daisy, wrong password. Try again."
        ]
    },
    "result": "ok"
}
adityagovindaraj commented 3 years ago

I'm getting the same error. I want to add my Inoreader credential (I use Google sign in to log onto Inoreader), but "Network error. Try again later." pops up. Any idea how to fix this?

Appreciate the help.

Cheers.

PS: Using latest version of NNW on macOS Big Sur.

vincode-io commented 3 years ago

You can't use your Google account to sign in to Inoreader through NetNewsWire. If I remember correctly, you have to do a password reset to get an Inoreader specific set of credentials that you can use with NetNewsWire.

adityagovindaraj commented 3 years ago

You can't use your Google account to sign in to Inoreader through NetNewsWire. If I remember correctly, you have to do a password reset to get an Inoreader specific set of credentials that you can use with NetNewsWire.

Awesome! It worked! Thanks @vincode-io !

Cheers.