# 自定义登录流程：AWS Cognito SSO（通过无密码登录）- 可能吗？

**URL:** <https://meta.discourse.org/t/custom-login-flow-aws-cognito-sso-via-passwordless-signin-is-this-possible/203406>\
**Category:** SSO\
**Created:** [2021 年9 月 13 日 14:56 UTC](https://meta.discourse.org/t/custom-login-flow-aws-cognito-sso-via-passwordless-signin-is-this-possible/203406 "2021-09-13T14:56:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![xprmnts](https://avatars.discourse-cdn.com/v4/letter/x/4af34b/32.png) [@xprmnts](https://meta.discourse.org/u/xprmnts)\
发布日期： [2021 年9 月 13 日 14:56 UTC](https://meta.discourse.org/t/custom-login-flow-aws-cognito-sso-via-passwordless-signin-is-this-possible/203406/1 "2021-09-13T14:56:36Z")

</div>

我按照以下步骤成功通过 AWS Cognito 启用了 SSO：

1. [Discourse OpenID Connect (OIDC)](https://meta.discourse.org/t/openid-connect-authentication-plugin/103632)
2. [Anyone have a working AWS Cognito configuration w/ ouath2, openid or sso?](https://meta.discourse.org/t/anyone-have-a-working-aws-cognito-configuration-w-ouath2-openid-or-sso/123579)

不过，我正在尝试寻找方法，在 Discourse 中启用与我们移动应用和 Web 应用相同的认证流程。该流程是一种自定义的无密码登录认证方式（用户输入邮箱，然后接收验证码）。

预期是 SSO 能够通过这种无密码认证流程实现，而不是使用邮箱/密码方式，因为用户在我们的主要应用中并不使用密码。

请问有什么建议可以启用此功能吗？或者这是否可行？

谢谢。

---

_[View the full topic](https://meta.discourse.org/t/custom-login-flow-aws-cognito-sso-via-passwordless-signin-is-this-possible/203406)._
