Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

Have a way to save credentials when authentication fail #43

Open
Mereck13579 opened this issue Nov 21, 2024 · 3 comments
Open

Have a way to save credentials when authentication fail #43

Mereck13579 opened this issue Nov 21, 2024 · 3 comments

Comments

@Mereck13579
Copy link

Basically I sometimes get some "authentication failed" error that I don't know the cause of (re-authenticating works just fine).
The issue is more of QOL as I have to re-enter every single field each time (Client ID, client Secret, Username, Password). Could there be a way to save them when authentication failed for retry?

@huseyz
Copy link
Owner

huseyz commented Nov 21, 2024

It is difficult to guess what's happening here. Any chance you can open the console and see if there are any helpful logs when you get the authentication failed?

@Mereck13579
Copy link
Author

Sure, I'll try to get you that next time it happens (unfortunately it's pretty random so I have no idea when I'll get that info)

@Mereck13579
Copy link
Author

Mereck13579 commented Nov 23, 2024

Just happened now. Here is the console output (I guess the first time was automatic at launch or something, I only noticed by pressing the sync button manually, getting an error, checked the console at that moment):
Likely the token expired, refreshing it.
plugin:wallabag:339 Token refresh failed. Error: Request failed, status 400
at new t (app.js:1:1925609)
at PU (app.js:1:1925801)
at app.js:1:1926480
at app.js:1:237228
at Object.next (app.js:1:237333)
at a (app.js:1:236051)
plugin:wallabag:341 Uncaught (in promise) Error
at eval (plugin:wallabag:341:17)
at async eval (plugin:wallabag:334:16)
at async SyncArticlesCommand.callback (plugin:wallabag:204:22)
2plugin:wallabag:333 Likely the token expired, refreshing it.
plugin:wallabag:339 Token refresh failed. Error: Request failed, status 400
at new t (app.js:1:1925609)
at PU (app.js:1:1925801)
at app.js:1:1926480
at app.js:1:237228
at Object.next (app.js:1:237333)
at a (app.js:1:236051)
plugin:wallabag:341 Uncaught (in promise) Error
at eval (plugin:wallabag:341:17)
at async eval (plugin:wallabag:334:16)
at async SyncArticlesCommand.callback (plugin:wallabag:204:22)

Small edit:
After that, if I click sync again it just says "Please authenticate with Wallabag first.", no additional log in console (and same problem happens, ID Secret etc is empty again)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants