# “假”OAuth提供商？

**URL:** https://meta.discourse.org/t/fake-oauth-provider/212116
**Category:** Development
**Created:** [2021年十二月14日 22:57 UTC](https://meta.discourse.org/t/fake-oauth-provider/212116 "2021-12-14T22:57:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2021年十二月15日 18:22 UTC](https://meta.discourse.org/t/fake-oauth-provider/212116/2 "2021-12-15T18:22:54Z")

</div>

您或许可以使用自定义用户字段来实现此目的？[Creating and configuring custom user fields](https://meta.discourse.org/t/how-to-create-and-configure-custom-user-fields/113192)

用户字段可以设置为在注册时必填，用于接受随机生成的代码。如果现有账户需要添加代码，用户字段也可以在注册后在其个人资料设置中进行编辑。

---

_[View the full topic](https://meta.discourse.org/t/fake-oauth-provider/212116)._
