mudkipme / MoeMemos

An app to help you capture thoughts and ideas
http://memos.moe
Mozilla Public License 2.0
444 stars 41 forks source link

Can no longer sign in after updating to latest memos server #89

Closed oregonpillow closed 1 year ago

oregonpillow commented 1 year ago

When I try and sign in it says "invalid access token".

Was the last update to backend breaking for this app?

I can login to my server directly in browser with the same credentials and works fine. But In the MoeMemos app now I can't .

mudkipme commented 1 year ago

Please try upgrading the app to 1.5.2 or try logging with Open API.

oregonpillow commented 1 year ago

Just updated but same problem

image

oregonpillow commented 1 year ago

OpenAPI working now 👍🏼. Thanks. Although I don't understand why username/password authentication has stopped working.

mudkipme commented 1 year ago

Moe Memos uses /api/status to detect the version Memos.

It seems there is an issue fixed by https://github.com/usememos/memos/commit/2033b0c8fa8fe7c759949b7be28b289ca74b122a, which prevent /api/status from accessible in some conditions. As a result, it's recommended to only log in via Open API with Memos 0.13.2.

The future version of Memos will move lots of API to /api/v1 prefix, including /api/v1/status, that will require an update for Moe Memos.

mudkipme commented 1 year ago

Memos 0.13.2 had an bug which prevents Moe Memos from logging-in after the session expires. It is fixed in Memos 0.14.0 and please upgrade to Moe Memos 1.5.3 to support the latest server version.