# هل يمكنني استخدام واجهة برمجة تطبيقات Discourse لمصادقة المستخدمين في تطبيق آخر؟

**URL:** <https://meta.discourse.org/t/can-i-use-the-discourse-api-to-authenticate-users-in-another-app/266322>\
**Category:** SSO\
**Created:** [26 مايو 2023، 2:29م UTC](https://meta.discourse.org/t/can-i-use-the-discourse-api-to-authenticate-users-in-another-app/266322 "2023-05-26T14:29:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ygramoel](https://avatars.discourse-cdn.com/v4/letter/y/74df32/32.png) [@ygramoel](https://meta.discourse.org/u/ygramoel)\
**Post date:** [26 مايو 2023، 3:40م UTC](https://meta.discourse.org/t/can-i-use-the-discourse-api-to-authenticate-users-in-another-app/266322/3 "2023-05-26T15:40:36Z")

</div>

في الواقع، “تطبيقي الآخر” هو تطبيق سطح مكتب، وليس تطبيق ويب. لا أعتقد أن discourse-auth-proxy سيعمل في هذه الحالة.

في صفحة [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true)، أحد العبارات الأولى هي:

> ترغب العديد من المواقع التي ترغب في التكامل مع موقع Discourse في الاحتفاظ بجميع تسجيلات المستخدمين في موقع منفصل. في مثل هذا الإعداد، يجب الاستعانة بجميع عمليات تسجيل الدخول إلى هذا الموقع المختلف.

هذا هو عكس ما أريد فعله تمامًا: أريد الاستعانة بجميع عمليات تسجيل الدخول إلى Discourse. هل هناك طريقة لاستخدام [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) للقيام بذلك؟

---

_[View the full topic](https://meta.discourse.org/t/can-i-use-the-discourse-api-to-authenticate-users-in-another-app/266322)._
