aaemnnosttv / wp-cli-login-command

Log in to WordPress with secure passwordless magic links.
https://aaemnnost.tv/wp-cli-commands/login/
MIT License
294 stars 47 forks source link

Magic links sent through some apps appear broken #1

Closed aaemnnosttv closed 4 years ago

aaemnnosttv commented 7 years ago

Some apps which try to load previews of the url you are sharing (eg: Slack) will "break" the link when sharing because the preview triggers the login which will only work once.

aaemnnosttv commented 7 years ago

One workaround, at least for Slack, is to enclose the link in back ticks when sending.

Like so:

`http://example.com/some-magic-login-url`

Links within back ticks do not load a preview, while still preserving the behavior of a hyperlink.

niladam commented 7 years ago

Some other workarounds:

  1. Send the email as plaintext, making sure the link is just text -- so that it's not scanned.
  2. Send the email as html, but make sure the link is just text.
aaemnnosttv commented 7 years ago

@niladam are there any email clients you are aware of that preview hyperlinks?

aaemnnosttv commented 4 years ago

Closing this as it hasn't been much of an issue for most, as far as I can tell.