When magic login URLs blocked from nG firewall, you may want to extend firewall rules to allow magic login urls.
If you are using runcloud:
# allow magic login links
if ($request_uri ~ "magic-login"){
set $gfwreason "allow";
}
or if you are running non customized version:
if ($request_uri ~ "magic-login"){
set $7g_drop_bad_request 0;
set $7g_drop_bad_referer 0;
set $7g_drop_bad_query_string 0;
set $7g_drop_not_allowed_method 0;
set $7g_drop_bad_bot 0;
}