memos icon indicating copy to clipboard operation
memos copied to clipboard

JSON API login 404

Open yamada-sexta opened this issue 1 month ago • 3 comments

Pre-submission Checklist

  • [x] I have searched the existing issues and this bug has not been reported yet
  • [x] I have tested this issue on the demo site or the latest version

Where did you encounter this bug?

Latest stable version (self-hosted)

Memos Version

v0.25.3

Bug Description

I am unable to log in with password and username with the REST API.

Steps to Reproduce

curl -X POST "https://memos.my.com/api/v1/auth/signin" \
  -H "Content-Type: application/json" \
  -d ' {"passwordCredentials":{"password":"xxxx","username":"xxxx"}}'

I just got 404 from this. Is the REST API still working? I can't seem to find it in the codebase.

{"code":5,"message":"Not Found","details":[]}

Expected Behavior

Get whatever is written on the doc

Screenshots & Additional Context

No response

yamada-sexta avatar Jan 09 '26 04:01 yamada-sexta

Also the delete emoji API is also not working...

I followed the instructions here: https://usememos.com/docs/api/memoservice/DeleteMemoReaction

I am not sure if that is because the documentation is extremely out of date or what.

yamada-sexta avatar Jan 10 '26 06:01 yamada-sexta

I encountered the same problem when running in docker. But the API works when I run the backend server locally on its own.

Programmer-112 avatar Jan 10 '26 23:01 Programmer-112

I think it really is an API change? This API is not documented, and the old API was entirely broken: api/v1/auth/sessions/current

yamada-sexta avatar Jan 12 '26 22:01 yamada-sexta