# Могу ли я использовать API 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 14:29:17 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:** 7

<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:** [26.Май.2023 16:55:31 UTC](https://meta.discourse.org/t/can-i-use-the-discourse-api-to-authenticate-users-in-another-app/266322/7 "2023-05-26T16:55:31Z")

</div>

Для десктопного приложения вам, возможно, будет полезен метод, использованный в этом примере на React Native:

[https://github.com/pmusaraj/discourse-mobile-single-site-app/blob/main/js/Authenticate.js](https://github.com/pmusaraj/discourse-mobile-single-site-app/blob/main/js/Authenticate.js)

---

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