# 디스코스에 접속하지 않고 Connection 및 디스코스 계정 만들기

**URL:** https://meta.discourse.org/t/connection-and-discourse-account-creation-without-going-on-discourse/242812
**Category:** SSO
**Created:** [10월 24, 2022, 10:53오후 UTC](https://meta.discourse.org/t/connection-and-discourse-account-creation-without-going-on-discourse/242812 "2022-10-24T22:53:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![loukmane226](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@loukmane226](https://meta.discourse.org/u/loukmane226)
#### Post date: [10월 24, 2022, 10:53오후 UTC](https://meta.discourse.org/t/connection-and-discourse-account-creation-without-going-on-discourse/242812/1 "2022-10-24T22:53:23Z")

</div>

안녕하세요  
디스코urses 포럼을 포함한 웹사이트를 구축하고 있습니다. 사용자가 사이트의 로그인 페이지에서 디스코urses에 연결할 수 있고, 계정이 없으면 계정을 생성할 수 있도록 하고 싶습니다. 사용자를 디스코urses로 리디렉션하지 않고 이 기능을 구현할 수 있을까요? PHP를 사용하고 있습니다.  
도움 주셔서 감사합니다

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [10월 24, 2022, 10:58오후 UTC](https://meta.discourse.org/t/connection-and-discourse-account-creation-without-going-on-discourse/242812/2 "2022-10-24T22:58:33Z")

</div>

안녕하세요 @loukmane226,

[Discourse Connect](https://meta.discourse.org/t/13045?silent=true)를 확인해 보세요:

> [@Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/setup-discourseconnect-official-single-sign-on-for-discourse-sso/13045):
>
> [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) is a core Discourse feature that allows you to configure “Single Sign-On (SSO)” to completely outsource all user registration and login from Discourse to another site. Offered to our [pro, business and enterprise hosting customers](https://discourse.org/pricing). information_source (Feb 2021) ‘[Discourse SSO](https://meta.discourse.org/t/13045?silent=true)’ is now ‘[DiscourseConnect](https://meta.discourse.org/t/13045?silent=true)’. If you are running an old version of Discourse, the settings below will be named sso\_... rather than discourse\_connect\_... The Problem Many sites wishing to integrate wit…

---

<div class="post-metadata">

### Author: ![loukmane226](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@loukmane226](https://meta.discourse.org/u/loukmane226)
#### Post date: [10월 25, 2022, 12:06오후 UTC](https://meta.discourse.org/t/connection-and-discourse-account-creation-without-going-on-discourse/242812/3 "2022-10-25T12:06:00Z")

</div>

Stephen님, 안녕하세요.  
답변해 주셔서 감사합니다. 해결책이라는 점은 이해했지만, 어떻게 사용하는지 모르겠어요.

실제 예시를 통해 도와주실 수 있을까요?  
제가 해야 할 일은 다음과 같습니다:

1. 사용자가 제 웹사이트 "[mysite.com](http://mysite.com)"에 접속합니다.
2. 사용자 영역에 접근하기 위한 링크를 클릭하면, 스크립트가 세션에서 사용자가 로그인되어 있는지 확인합니다. 로그인되어 있으면 사용자 영역에 접근할 수 있습니다. 로그인되어 있지 않으면 로그인 양식이 표시되고, 사용자가 이메일 주소와 비밀번호를 입력합니다.
3. 이 정보는 사용자가 제 Discourse에 등록되어 있는지 확인하는 데 사용됩니다. 등록되어 있으면 Discourse가 사용자 정보를 반환합니다.
4. 사용자가 Discourse에 등록되어 있지 않으면, 등록을 위해 정보를 입력할 수 있습니다.

위와 같이 하고 싶은데, 어디서부터 시작해야 할지 모르겠습니다. 도와주실 수 있을까요?

감사합니다
