You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the current relevant code, it doesn't seem like device_id is ever read from the request payload and that a new device is created every time.
To Reproduce
Steps to reproduce the behavior:
Create a device by completing login flow.
Login again with a the same device_id.
Response will be a newly generated device_id
Expected behavior
A new device is not created and the same one is reused.
The text was updated successfully, but these errors were encountered:
Describe the bug
According to https://spec.matrix.org/v1.13/client-server-api/#post_matrixclientv3login , if a device_id is sent in the login request, and it is a previously known device id, the session should be reused and the the same device id should be returned in the response.
Looking at the current relevant code, it doesn't seem like device_id is ever read from the request payload and that a new device is created every time.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A new device is not created and the same one is reused.
The text was updated successfully, but these errors were encountered: