# 使用 OAuth2 JSON 路径填充网站和关于字段

**URL:** https://meta.discourse.org/t/oauth2-json-paths-to-populate-website-and-about-fields/111107
**Category:** SSO
**Tags:** oauth2
**Created:** [2019年三月8日 18:29 UTC](https://meta.discourse.org/t/oauth2-json-paths-to-populate-website-and-about-fields/111107 "2019-03-08T18:29:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kueda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kueda/32/130762_2.png) [@kueda](https://meta.discourse.org/u/kueda)
#### Post date: [2019年三月8日 18:29 UTC](https://meta.discourse.org/t/oauth2-json-paths-to-populate-website-and-about-fields/111107/1 "2019-03-08T18:29:36Z")

</div>

Currently the OAuth plugin will get a minimal amount of information about a user from the 3rd party’s JSON response: id, login, name, avatar. Could you add paths to populate the Discourse website URL and description fields as well? Even better would be a path to import a URL to the user’s profile page on the third party that the Discourse user can’t edit, e.g. “this user authenticated with service x and here’s their profile page on service x”

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2022年四月21日 04:34 UTC](https://meta.discourse.org/t/oauth2-json-paths-to-populate-website-and-about-fields/111107/2 "2022-04-21T04:34:43Z")

</div>


