Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add identifier when login with password #497

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gnieto
Copy link

@gnieto gnieto commented Mar 30, 2024

Since Matrix spec v1, the username when login with password should be sent in the identifier field, as explained here: https://spec.matrix.org/v1.1/client-server-api/#matrix-user-id

A full example of a password based login payload can be found here: https://spec.matrix.org/v1.1/client-server-api/#password-based

Copy link
Member

@awesome-manuel awesome-manuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run yarn fix to fix style issues.

Since Matrix spec v1, the username when login with password should be
sent in the `identifier` field, as explained here: https://spec.matrix.org/v1.1/client-server-api/#matrix-user-id

A full example of a password based login payload can be found here: https://spec.matrix.org/v1.1/client-server-api/#password-based
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants