# OAuth 2와 다른 discourse 사이트?

**URL:** https://meta.discourse.org/t/oauth-2-and-other-discourse-sites/172851
**Category:** Support
**Created:** [12월 10, 2020, 11:49오전 UTC](https://meta.discourse.org/t/oauth-2-and-other-discourse-sites/172851 "2020-12-10T11:49:27Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Joshua\_Kogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshua_kogan/32/127595_2.png) [@Joshua\_Kogan](https://meta.discourse.org/u/Joshua_Kogan)
#### Post date: [12월 10, 2020, 11:49오전 UTC](https://meta.discourse.org/t/oauth-2-and-other-discourse-sites/172851/1 "2020-12-10T11:49:27Z")

</div>

안녕하세요. 기존에 존재하는 디스코urs 사이트와 일부 사용자 중복이 있는 사이트를 시작할 계획입니다. 방문자들이 다른 디스코urs 사이트의 자격 증명(계정 정보)을 사용하여 계정을 생성할 수 있도록 하고 싶습니다. 이 기능을 어떻게 구현할 수 있을까요?

---

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [12월 10, 2020, 12:54오후 UTC](https://meta.discourse.org/t/oauth-2-and-other-discourse-sites/172851/2 "2020-12-10T12:54:31Z")

</div>

[https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974를](https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974%EB%A5%BC) 제안합니다.

---

<div class="post-metadata">

### Author: ![Joshua\_Kogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshua_kogan/32/127595_2.png) [@Joshua\_Kogan](https://meta.discourse.org/u/Joshua_Kogan)
#### Post date: [12월 10, 2020, 1:14오후 UTC](https://meta.discourse.org/t/oauth-2-and-other-discourse-sites/172851/3 "2020-12-10T13:14:12Z")

</div>

그렇다면, 이 방법을 따르게 되면 로그인 버튼들(FB, Discord, GitHub, Google 등)에 새로운 버튼을 추가할 수 있고, 이 새 버튼은 제가 소유하거나 운영하지 않는 다른 디스코urse 포럼을 위한 것이 되는 건가요?

---

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [12월 10, 2020, 1:29오후 UTC](https://meta.discourse.org/t/oauth-2-and-other-discourse-sites/172851/4 "2020-12-10T13:29:23Z")

</div>

> [@Joshua\_Kogan](#):
>
> 그러면 이 경로를 따르면 로그인 버튼(fb, discord, gihub, google 등)에 새 버튼을 추가할 수 있겠군요.

네, 이것은 공식 [WP Discourse 플러그인](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752#sso-settings)에 대한 가능한 설정 중 하나입니다(단, SSO 제공자/SSO 클라이언트 관계의 예시일 뿐입니다).

만약 시작하려는 사이트가 다른 Discourse 인스턴스라면 이것도 가능할 수 있지만, meta에 이 접근 방식에 대한 문서가 있는지 저는 잘 모르겠습니다.

> [@Joshua\_Kogan](#):
>
> 제가 소유하거나 운영하지 않는 다른 discourse 포럼에 대해?

이것은 불가능합니다. 추가적인 보안 단계, 즉 SSO 플로우를 수행할 때 사용되는 `sso provider secrets` 형태가 없으면 외부 웹사이트에서 사용자 개인 데이터를 가져올 수 없습니다.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [12월 10, 2020, 1:30오후 UTC](https://meta.discourse.org/t/oauth-2-and-other-discourse-sites/172851/5 "2020-12-10T13:30:50Z")

</div>

앞으로 더 확장될 수 있다고 생각한다면, [http://auth0.com/과](http://auth0.com/%EA%B3%BC) 같은 전용 액세스 및 아이덴티티 매니저도 고려해 볼 수 있습니다 …

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [12월 10, 2020, 2:55오후 UTC](https://meta.discourse.org/t/oauth-2-and-other-discourse-sites/172851/6 "2020-12-10T14:55:47Z")

</div>

아니요. Sso가 유일한 제공자일 것입니다. 그리고 다른 사이트에 대한 제어 권한이 없다면 인증 목적으로 이를 사용할 수 있는 방법이 없습니다.
