hackmdio / hackmdio/codimd

Login does not work properly

Open
#1,472 15 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
10.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Logging in does not properly work:
When logging in, CodiMD will throw an error when entering incorrect credentials and continue if they are valid (as expected).
After successfully authenticating against the server, the user seems to be logged in to CodiMD but on the start page this is not the case. The button "Sign in" is still visible and no user functionality like server-side history will be shown. When creating or accessing a note (by entering an URL) the user appears to be logged in.

Errors appear neither on the server-side nor on the client-side.
I've looked in the network requests and saw that no call to `/me` was made. AFAIK in previous versions of CodiMD (<2.0.0) this call was made when loading the start page, also after logging in to get user info and to handle the login state (i.e. on the start page).

Docker image in use: `nabo.codimd.dev/hackmdio/hackmd:2.0.0`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.