# Discourse를 통한 SSO 로그인

**URL:** https://meta.discourse.org/t/sso-login-with-discourse/234702
**Category:** SSO
**Created:** [8월 1, 2022, 4:51오후 UTC](https://meta.discourse.org/t/sso-login-with-discourse/234702 "2022-08-01T16:51:51Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [10월 2, 2024, 5:24오후 UTC](https://meta.discourse.org/t/sso-login-with-discourse/234702/6 "2024-10-02T17:24:37Z")

</div>

> [@suraj96100singh](#):
>
> 사용자 ID나 토큰과 같은 사용자 데이터를 Discourse API로 보낼 수 있는 API나 메서드가 있는지 알고 싶습니다.

[DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) 페이로드에 설정한 `external_id`를 사용하여 Discourse에 API 요청을 보낼 수 있습니다. 이 요청은 전체 사용자 Object를 반환합니다.

> [@ID 제공자의 '외부 ID'로 사용자 찾기](https://meta.discourse.org/t/finding-a-user-by-their-identity-provider-external-id/169723#discourseconnect-2):
>
> bookmark 이 가이드는 API 호출을 사용하여 ID 제공자의 external\_id를 기반으로 Discourse 사용자를 찾는 방법을 설명합니다. person_raising_hand 필요한 사용자 권한: 관리자 외부 인증 시스템을 사용할 때, Discourse는 두 가지 사용자 ID를 추적합니다: Discourse의 user\_id와 ID 제공자의 external\_id입니다. external\_id를 기반으로 Discourse 사용자를 조회해야 하는 경우, 이 #howto(사용법) 글이 적합합니다! 아래에서 이 작업을 수행하는 방법을 배울 수 있습니다. API 설정 먼저, 관리자 API 키가 올바르게 구성되었는지 확인하십시오. Discourse API 설정 및 사용에 대한 자세한 내용은 [Discourse API 문서](https://meta.discourse.org/t/discourse-api-documentation/22706)를 참고하십시오. [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true)[DiscourseConnect](https://meta.discourse.org/t/13045?silent=true)(구 [Discourse SSO](https://meta.discourse.org/t/13045?silent=true))를 사용 중인 경우, 다음 API 호출로 사용자…

---

_[View the full topic](https://meta.discourse.org/t/sso-login-with-discourse/234702)._
