# 生成“给我发登录链接的邮箱”URL

**URL:** <https://meta.discourse.org/t/generate-an-email-me-a-login-link-url/323649>\
**Category:** Support\
**Created:** [2024年八月27日 20:51 UTC](https://meta.discourse.org/t/generate-an-email-me-a-login-link-url/323649 "2024-08-27T20:51:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2024年九月18日 20:28 UTC](https://meta.discourse.org/t/generate-an-email-me-a-login-link-url/323649/7 "2024-09-18T20:28:16Z")

</div>

> [@jonathan\_moura\_getit](#):
>
> 用户可以清楚地看到他们被重定向回我们的网站进行登录，这可能会对他们的体验造成一些干扰。

好的，这与以下内容是分开的：

> 我们希望绕过用户必须在 Discourse 上点击“登录”的步骤。

Discourse 确实有生成登录链接的功能。

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/c/5/5c5d0e4fe68a183575f7b880fd0ba72d04daa521.png)

因此，可以通过插件接入该功能，但出于安全原因，使用该链接需要用户采取积极行动来验证他们确实想要登录，所以该方法不符合你最初的标准。

我的建议是让用户着陆的页面与你的 Discourse 实例主题相匹配，这样他们就不会注意到重定向。

---

_[View the full topic](https://meta.discourse.org/t/generate-an-email-me-a-login-link-url/323649)._
