Hmm, so we tried to use get_permalink, and actually for both ways, if I try to just access mydomain.com/wp-login.php it will redirect me to my custom url.
The problem is that if I try accessing a blocked page directly, Force Login seems to break so I’m not directed to a login page. I think the problem with using mod_rewrite and .htaccess is that I’m using mydomain.com/wp-login.php?wle to login to my admin dashboard since I have the Auth0 plugin installed.