# 自定义已验证操作

**URL:** https://meta.discourse.org/t/customize-authenticated-actions/165859
**Category:** Support
**Created:** [2020年九月30日 21:13 UTC](https://meta.discourse.org/t/customize-authenticated-actions/165859 "2020-09-30T21:13:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![colinbethea](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/colinbethea/32/195791_2.png) [@colinbethea](https://meta.discourse.org/u/colinbethea)
#### Post date: [2020年九月30日 21:13 UTC](https://meta.discourse.org/t/customize-authenticated-actions/165859/1 "2020-09-30T21:13:15Z")

</div>

目前，我们团队的设置使用 OAuth（配合 Auth0）进行身份验证——但我们有一个独立的注册表单，需要在点击需要身份验证的操作（例如回复、获取访问权限等）时显示。

是否有集中化的方法来实现这一点？

此外，在 JavaScript 中访问当前用户的最佳方式是什么（如果可行的话；如果不可行，次优方案是什么）？
