matrix-org / prosody-mod-auth-matrix-user-verification

Matrix user verification auth for Prosody
Apache License 2.0
23 stars 12 forks source link

mod_auth_matrix_user_verification module needs to be fully async #10

Closed jaywink closed 3 years ago

jaywink commented 3 years ago

Currently the mod_auth_matrix_user_verification does some network calls to UVS in a synchronous way which blocks prosody for the time these resolve.

Any network calls made by the module need to be fully async so that Prosody is not blocked.

https://github.com/matrix-org/prosody-mod-auth-matrix-user-verification/pull/9 was a quick attempt to resolve but it makes Prosody crash.